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

208 Commits

Author SHA1 Message Date
Marco Hinz
172ee11a13
Filter filenames through fnameescape()
Fixes #77
2018-03-12 16:24:13 +01:00
Marco Hinz
c7a52cb453
Makefile: add test target 2018-03-12 16:23:40 +01:00
Marco Hinz
ab6b42fd2b
Bump to 1.9.2 2018-03-01 21:11:25 +01:00
Marco Hinz
ac49415d43
Gracefully close the event loop
This uses the APIs new close() method from neovim 0.2.3.
2018-03-01 21:08:05 +01:00
Marco Hinz
a08ffdf89a
New option: --version 2018-03-01 20:28:31 +01:00
Marco Hinz
97601e6847
Help: add GitHub URL 2018-03-01 20:25:25 +01:00
Marco Hinz
9c24bf35a5
README: center header 2018-02-28 21:24:37 +01:00
Marco Hinz
73115f37d6
README: add typical uses cases 2018-02-28 21:10:34 +01:00
Marco Hinz
e9f1d33547
README: improve header 2018-02-28 20:35:59 +01:00
Marco Hinz
06d9cd9c33
README: add theory and first steps 2018-02-28 20:29:22 +01:00
Marco Hinz
7c6fb5b7c3
README: improve installation section 2018-02-28 20:13:05 +01:00
Marco Hinz
c7f954018d
README: improve intro 2018-02-28 20:00:07 +01:00
Marco Hinz
1c0408644b
README: improve formatting of FAQ 2018-02-28 18:55:58 +01:00
Marco Hinz
aeb08b81f2
Make -c/-cc/--remote-expr read from stdin on -
Fixes #72.
2017-12-20 17:20:19 +01:00
Marco Hinz
4659798cd6
Release v1.9.0 2017-12-03 17:38:09 +01:00
Marco Hinz
9f018a87d4
Refactoring: Neovim/nvim -> Nvr/nvr 2017-12-03 16:35:11 +01:00
Marco Hinz
01fade4a9d
Refactoring: silencing
Fixes #69.
2017-12-03 16:20:03 +01:00
Marco Hinz
df89d17f56
Refactoring: sanitize address 2017-12-03 15:05:16 +01:00
Marco Hinz
83b9d014f7
New option: --nostart
By default nvr starts a new nvim process if none is found. Use this option to
avoid that.

Closes #68.
2017-12-03 14:24:46 +01:00
Marco Hinz
8dccd952b5
Don't start nvim on --serverlist
Fixes #67.
2017-11-21 23:07:52 +01:00
Marco Hinz
a10e931247
Correct -h output 2017-11-14 16:49:03 +01:00
Marco Hinz
40f5705eef
Be more precise when to implicitly use --remote-silent 2017-11-14 15:57:13 +01:00
Marco Hinz
f8250c0c38
From all --remote* options, check the implicit --remote-silent last
References #43.
2017-11-13 21:02:15 +01:00
Marco Hinz
905bbb7dc3
Fix -p
Closes #65.
2017-11-13 18:06:31 +01:00
Marco Hinz
27c39db099
INSTALLATION: mention macOS user directory
References #64.
2017-11-03 03:05:32 +01:00
Marco Hinz
7f49f45423
CI: never notify me on success 2017-10-24 13:19:23 +02:00
Marco Hinz
67f36cc550
Improve error message of --remote-expr
References #63.
2017-10-24 13:07:56 +02:00
Marco Hinz
0c7068b2cc
Start new nvim instance when no argument given
Closes #62.
2017-10-18 06:11:44 +02:00
Marco Hinz
282aa12fb4
Check if Unix domain socket is connectable before attaching 2017-09-30 14:13:15 +02:00
Marco Hinz
d28c9c00bf
Remove useless level of indentation 2017-09-30 12:59:01 +02:00
Marco Hinz
538e18be6d
Move address type detection logic into own function 2017-09-30 12:58:51 +02:00
Marco Hinz
3926064c43
Bump to 1.8.3 2017-09-29 17:31:06 +02:00
Marco Hinz
ec612dc16c
Improve check for IPv4 address
If the address contains only one colon followed by a number, assume TCPv4 and
a Unix domain otherwise.

Closes #60.
2017-09-29 17:20:20 +02:00
Marco Hinz
dac335752a
setup.py: rst -> md 2017-09-29 17:11:05 +02:00
Marco Hinz
2b7853ef8e
README: move installation instructions to INSTALLATION.md
Closes #59.
2017-09-29 17:09:08 +02:00
Marco Hinz
58b0783d0a
README: switch back to Markdown 2017-09-29 16:39:09 +02:00
Marco Hinz
200699c71c
README: no support for Windows
Closes #53.
2017-09-13 13:26:51 +02:00
Marco Hinz
d138b98bde
Ignore "E37: No write since last change" in --remote*
References https://github.com/mhinz/neovim-remote/issues/54
2017-08-07 02:02:29 +02:00
Marco Hinz
64e9f486a1
Revert "Temporarily reset &modified when opening files"
This reverts commit 6845b8b5a6.
2017-08-07 01:58:31 +02:00
Marco Hinz
6845b8b5a6
Temporarily reset &modified when opening files
:edit and similar commands used by the --remote* options throw an exception if
the buffer is modified:

    E37: No write since last change (add ! to override)

Using :enew! doesn't work, since it reverts all changes. Thus we simply reset
&modified temporarily.

References https://github.com/mhinz/neovim-remote/issues/54
2017-08-07 00:35:33 +02:00
Marco Hinz
3fc53ac12a
Release v1.8.0 2017-08-04 02:49:22 +02:00
Marco Hinz
c1fedb4de8
Redirect stdout to stdin when forking
This is needed so the new nvim process ignores the data in stdin, because it
comes from a TTY now.
2017-08-04 02:41:54 +02:00
Marco Hinz
4b8c384462
Only process + at the beginning of --remote*
nvr +1 +2 3 +4 5

The above will do the following in the given order:

  - open file "5"
  - open file "+4"
  - open file "3"
  - execute :2
  - execute :1

That's how Vim does it.
2017-08-02 15:42:02 +02:00
Marco Hinz
957082771b
Ignore OSError instead of FileNotFoundError 2017-08-02 12:10:03 +02:00
Marco Hinz
13808fd5ec
Ignore only invalid addresses 2017-08-02 11:52:11 +02:00
Harm te Hennepe
a85aa94321 Support multiple + commands and let empty + go to the last line 2017-08-02 11:46:35 +02:00
Drew Neil
ee9a6c4f39 Document -p flag independent of --remote-tab flag 2017-08-01 16:40:59 +02:00
Marco Hinz
74a2baf3b5
README: mention $NVR_CMD 2017-07-28 11:46:23 +02:00
Marco Hinz
a973424000
Make -s overwrite all other options
References https://github.com/mhinz/neovim-remote/issues/48#issuecomment-318163612
2017-07-27 00:29:08 +02:00
Marco Hinz
6debd11547
Makefile: ditch twine for uploading 2017-07-26 01:52:02 +02:00