tmux: fix nvim edit helper behavior
This commit is contained in:
parent
481f545b90
commit
d8de4826ff
1 changed files with 4 additions and 3 deletions
|
@ -11,8 +11,9 @@ else
|
|||
fre --store_name "$_store" --add "$_file"
|
||||
fi
|
||||
|
||||
tmux new-window -S -n nvim \
|
||||
-e "GOPACKAGESDRIVER=$GOPACKAGESDRIVER" \
|
||||
nvim --listen "$XDG_RUNTIME_DIR/nvim.sock"
|
||||
tmux select-window -t nvim 2>/dev/null ||
|
||||
tmux new-window -S -n nvim \
|
||||
-e "GOPACKAGESDRIVER=$GOPACKAGESDRIVER" \
|
||||
nvim --listen "$XDG_RUNTIME_DIR/nvim.sock"
|
||||
|
||||
nvim --server "$XDG_RUNTIME_DIR/nvim.sock" --remote "$_file"
|
||||
|
|
Loading…
Reference in a new issue