Marco Hinz
1cf3ce4cbc
Add .travis.yml
7 years ago
Marco Hinz
1bcc77e299
Tests: add first pytest
7 years ago
Marco Hinz
39519a7b00
Make main() take optional environment
7 years ago
Marco Hinz
aee0fa049c
Rename package to "nvr"
7 years ago
Marco Hinz
aa84e9369f
Make main() take optional arguments
7 years ago
Raghu
53cd4962f8
Update setup.py to use 'console_scripts'
...
setup will generate appropriate executable sccripts on all platforms.
Tested on windows 8.1
7 years ago
Marco Hinz
8bd0629ec9
Makefile: use "rm -rf" for clean
8 years ago
Marco Hinz
f78e3a9f0e
Make --serverlist work for real
8 years ago
Marco Hinz
8a41514c9c
Remove logo
8 years ago
Marco Hinz
52fb0e12b7
pictures/ -> images/
8 years ago
Marco Hinz
6168e7bb3a
README: add badges
8 years ago
Marco Hinz
9dd9c323fd
Improve help texts
8 years ago
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 .
8 years ago
Marco Hinz
020bb0ca34
Fix --remote-wait-silent
...
References #36 .
8 years ago
Marco Hinz
6418fe24f6
Add -cc
...
References #35 .
8 years ago
Marco Hinz
739caa5d0b
README: improve pip3 section
8 years ago
Marco Hinz
40ca151074
README: use "--user" with "pip install"
...
References #33 .
8 years ago
Marco Hinz
27c57846f5
Add -t
...
References #29 .
8 years ago
Marco Hinz
8d7fe39aee
-q: switch to correct directory first
...
References
https://github.com/mhinz/neovim-remote/issues/29
8 years ago
Marco Hinz
af050cb55e
-q: jump to first error
8 years ago
Marco Hinz
9e96644c97
Add -q
...
References https://github.com/mhinz/neovim-remote/issues/29
8 years ago
Marco Hinz
b65265ed97
Release v1.4.0
8 years ago
Marco Hinz
c816dc0c09
Remove CHANGELOG in favor of Github releases
8 years ago
Marco Hinz
3fd6acb6a7
FAQ: reading from stdin
8 years ago
Marco Hinz
07e1008834
README: rework usage section
8 years ago
Marco Hinz
dcf2352f81
README: switch usage and FAQ
8 years ago
Marco Hinz
a825fae389
README: how to talk to nvr processes
8 years ago
Marco Hinz
115aa50e63
Usage: mention default for --servername
8 years ago
Marco Hinz
e8638c063a
README: polishing
8 years ago
Marco Hinz
5631d463be
More blank lines for readability
8 years ago
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 .
8 years ago
Marco Hinz
0357cc35a8
README: mention exit code
8 years ago
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 .
8 years ago
Harm te Hennepe
1e14e72914
Don't use sys.exit() in event loop
8 years ago
Marco Hinz
7ee0e2dc31
Make all flags read from STDIN on -
8 years ago
Marco Hinz
3a93776ec3
Make "-o -" and "-O -" read from STDIN
...
References https://github.com/mhinz/neovim-remote/issues/28
8 years ago
Marco Hinz
a435992e1f
README: remove superfluous line
8 years ago
Marco Hinz
f5f3991221
Make: avoid twine errors by cleaning first
8 years ago
Marco Hinz
068e21aae0
Improve usage message
...
References #26 .
8 years ago
Marco Hinz
b039d9f1fb
README: remove obsolete remark about PyPI
8 years ago
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!
8 years ago
Marco Hinz
29f7dcc86b
Release 1.3.0
8 years ago
Marco Hinz
5f56d6048b
Makefile: add "clean" target
8 years ago
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 .
8 years ago
Marco Hinz
5e9c176a14
Help: clarify what --serverlist is about
...
References #18 .
8 years ago
Marco Hinz
f47fc111c4
Remove README.md
8 years ago
Marco Hinz
33eac810cf
Add README.rst
8 years ago
Marco Hinz
b3bcc83624
Don't hang up on exceptions
8 years ago
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
8 years ago
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.
8 years ago