[Github-comments] [geany/geany] Add '--no-new-instance' option. (#1128)

konsolebox notifications at xxxxx
Fri Jul 8 09:30:02 UTC 2016


This would allow us to force Geany to not open a new instance even
if no file arguments are passed in the command-line.

Some tweaks were also added so that the current instance window would
activate itself even if no new file arguments are specified whenever
this option is used.

This is useful if we want to make sure that we always only have a single instance.  And also so we can have easy shortcuts to switch from a virtual terminal to the editor, like this function: `w() { geany -I "$@"; }`,

You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1128

-- Commit Summary --

  * Add '--no-new-instance' option.

-- File Changes --

    M doc/geany.1.in (2)
    M doc/geany.txt (3)
    M src/libmain.c (32)
    M src/main.h (2)
    M src/socket.c (35)
    M src/ui_utils.c (2)

-- Patch Links --

https://github.com/geany/geany/pull/1128.patch
https://github.com/geany/geany/pull/1128.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1128
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160708/314b67a5/attachment.html>


More information about the Github-comments mailing list