fish: Use nvr instead of floaterm
nvr seems to allow opening a file at specified line just like with regular nvim which seems to not work for floaterm. So when in neovim terminal vgrep -s opens the file at correct line while in floaterm it just opens the file and puts us at the first line. Basically something like nvim +99 file.c does not work for floaterm.
This commit is contained in:
parent
0b7a19555a
commit
241894eb50
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ export MANPAGER='nvim +Man!'
|
|||
export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt'
|
||||
|
||||
if [ -n "$NVIM_LISTEN_ADDRESS" ]
|
||||
export VISUAL="floaterm"
|
||||
export EDITOR="floaterm"
|
||||
export VISUAL="nvr"
|
||||
export EDITOR="nvr"
|
||||
else
|
||||
export VISUAL="nvim"
|
||||
export EDITOR="nvim"
|
||||
|
|
Loading…
Reference in a new issue