2
0
mirror of https://github.com/mhinz/neovim-remote synced 2024-11-11 13:10:34 +00:00
Commit Graph

183 Commits

Author SHA1 Message Date
Raghu
53cd4962f8 Update setup.py to use 'console_scripts'
setup will generate appropriate executable sccripts on all platforms.
Tested on windows 8.1
2017-05-23 16:01:05 +02:00
Marco Hinz
8bd0629ec9
Makefile: use "rm -rf" for clean 2017-04-27 13:27:47 +02:00
Marco Hinz
f78e3a9f0e
Make --serverlist work for real 2017-04-27 13:24:33 +02:00
Marco Hinz
8a41514c9c
Remove logo 2017-04-27 11:43:22 +02:00
Marco Hinz
52fb0e12b7
pictures/ -> images/ 2017-04-27 11:41:39 +02:00
Marco Hinz
6168e7bb3a
README: add badges 2017-04-27 11:30:03 +02:00
Marco Hinz
9dd9c323fd
Improve help texts 2017-03-27 15:39:01 +02:00
Marco Hinz
45cb8c8e5e
Wait on remote instance without giving files
Before this commit all --remote* options took 1 or more files as arguments. Now
--remote-wait and --remote-wait-silent take 0 or more arguments.

This is useful if nvr is started by another program. E.g. setting git's
core.editor to "nvr" wasn't working when "git commit" was used from within
:terminal.

Now it does: set core.editor to "nvr --remote-wait-silent" instead.

When called from a shell, it starts a new Neovim instance. When called from
within :terminal, the current Neovim instance will be used.

This should work for all similar use cases.

References #39.
2017-03-27 14:25:37 +02:00
Marco Hinz
020bb0ca34
Fix --remote-wait-silent
References #36.
2017-03-19 16:48:09 +01:00
Marco Hinz
6418fe24f6
Add -cc
References #35.
2017-02-26 17:22:47 +01:00
Marco Hinz
739caa5d0b
README: improve pip3 section 2017-02-01 22:26:46 +01:00
Marco Hinz
40ca151074
README: use "--user" with "pip install"
References #33.
2017-02-01 19:14:20 +01:00
Marco Hinz
27c57846f5
Add -t
References #29.
2016-12-29 12:57:32 +01:00
Marco Hinz
8d7fe39aee
-q: switch to correct directory first
References
https://github.com/mhinz/neovim-remote/issues/29
2016-12-28 13:47:36 +01:00
Marco Hinz
af050cb55e
-q: jump to first error 2016-12-28 12:39:10 +01:00
Marco Hinz
9e96644c97
Add -q
References https://github.com/mhinz/neovim-remote/issues/29
2016-12-28 12:31:41 +01:00
Marco Hinz
b65265ed97
Release v1.4.0 2016-12-07 00:45:07 +01:00
Marco Hinz
c816dc0c09
Remove CHANGELOG in favor of Github releases 2016-12-07 00:44:00 +01:00
Marco Hinz
3fd6acb6a7
FAQ: reading from stdin 2016-12-06 23:46:00 +01:00
Marco Hinz
07e1008834
README: rework usage section 2016-12-06 23:36:39 +01:00
Marco Hinz
dcf2352f81
README: switch usage and FAQ 2016-12-06 23:21:25 +01:00
Marco Hinz
a825fae389
README: how to talk to nvr processes 2016-12-06 23:14:42 +01:00
Marco Hinz
115aa50e63
Usage: mention default for --servername 2016-12-06 22:36:06 +01:00
Marco Hinz
e8638c063a
README: polishing 2016-12-06 22:26:21 +01:00
Marco Hinz
5631d463be
More blank lines for readability 2016-12-02 18:06:02 +01:00
Marco Hinz
63f1d63961
Expose b:nvr
It's a list of channel IDs for each connected nvr.

Imagine `nvr --remote-wait file` used twice from different shells.

You could disconnect them with exit code 1 like this:

    command! Cq
        \  if exists('b:nvr')
        \|   for chanid in b:nvr
        \|     silent! call rpcnotify(chanid, 'Exit', 1)
        \|   endfor
        \| endif

References #27.
2016-12-02 17:52:50 +01:00
Marco Hinz
0357cc35a8
README: mention exit code 2016-12-02 00:14:05 +01:00
Marco Hinz
5734508170
Make nvr use same exit code as linked nvim
This requires a recent Neovim and gets ignored otherwise.

Reference:
d2e8c76dc2

Closes #27.
2016-12-01 23:54:45 +01:00
Harm te Hennepe
1e14e72914
Don't use sys.exit() in event loop 2016-12-01 23:53:04 +01:00
Marco Hinz
7ee0e2dc31
Make all flags read from STDIN on - 2016-11-28 20:12:48 +01:00
Marco Hinz
3a93776ec3
Make "-o -" and "-O -" read from STDIN
References https://github.com/mhinz/neovim-remote/issues/28
2016-11-28 18:07:28 +01:00
Marco Hinz
a435992e1f
README: remove superfluous line 2016-11-13 21:10:17 +01:00
Marco Hinz
f5f3991221 Make: avoid twine errors by cleaning first 2016-11-08 16:32:19 +01:00
Marco Hinz
068e21aae0 Improve usage message
References #26.
2016-11-08 16:27:47 +01:00
Marco Hinz
b039d9f1fb README: remove obsolete remark about PyPI 2016-10-29 00:47:59 +02:00
Marco Hinz
18c3cf41e5
PyPI: reupload -> 1.3.1
Somehow I managed to upload an egg for Python3.5 only. I have no idea how that
happened.

Sorry for any inconveniences!
2016-10-07 15:17:29 +02:00
Marco Hinz
29f7dcc86b
Release 1.3.0 2016-10-06 20:57:55 +02:00
Marco Hinz
5f56d6048b
Makefile: add "clean" target 2016-10-06 20:47:46 +02:00
Marco Hinz
6c3bdeb6bf
Drastically simplify the waiting mechanism
If "nvr --*wait*" is run from the shell or from within :terminal doesn't matter
anymore.

Now it will block until:

  - All buffers that got opened by nvr get deleted (BufDelete).
  - The nvim instance you connected to quits.

$NVIM_TERMINAL doesn't have to be set anymore.

References #19.
2016-10-06 20:37:40 +02:00
Marco Hinz
5e9c176a14
Help: clarify what --serverlist is about
References #18.
2016-10-06 18:44:45 +02:00
Marco Hinz
f47fc111c4
Remove README.md 2016-10-06 17:42:09 +02:00
Marco Hinz
33eac810cf
Add README.rst 2016-10-06 17:40:41 +02:00
Marco Hinz
b3bcc83624 Don't hang up on exceptions 2016-07-21 15:03:01 +02:00
Marco Hinz
ae6438c2ea Allow "nvr --remote-wait" from :terminal
This requires $NVIM_TERMINAL to be set. Put this in your vimrc:

    if has('nvim')
      let $NVIM_TERMINAL = 1
    endif

References #13
2016-07-19 16:27:17 +02:00
Marco Hinz
be3b77fb95 Makefile: add "rst" and "install" targets
Don't remove README.rst after uploading, since it's used by setup.py for
long_description.
2016-07-18 13:23:39 +02:00
Marco Hinz
e3f3ce8a9e Use pandoc for README.{md,rst} 2016-07-11 22:09:17 +02:00
Marco Hinz
915598ccb7 Add Makefile for uploading 2016-07-11 22:08:02 +02:00
Marco Hinz
7e76f845a3 Remove leading -- from arguments list
Fixes https://github.com/mhinz/neovim-remote/issues/17
2016-07-03 13:27:51 +02:00
Marco Hinz
7dce7ea34f Release 1.2.1 2016-06-08 16:28:42 +02:00
Marco Hinz
1a0a018df8 Make help message use given address for examples 2016-06-08 15:36:07 +02:00