nvim: wrapper script for persistent+remote control
This commit is contained in:
parent
9ee84b89e6
commit
311cd9042e
3 changed files with 17 additions and 2 deletions
home/common
|
@ -53,7 +53,7 @@
|
|||
description = "Open a file in already running nvim";
|
||||
argumentNames = [ "file" ];
|
||||
body = ''
|
||||
nvim --server "$XDG_RUNTIME_DIR/nvim-persistent.sock" --remote (readlink -f "$file")
|
||||
nvim-remote --remote (readlink -f "$file")
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue