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:
Sanchayan Maity 2021-10-04 11:50:53 +05:30
parent 0b7a19555a
commit 241894eb50

View file

@ -6,8 +6,8 @@ export MANPAGER='nvim +Man!'
export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt' export NIX_SSL_CERT_FILE='/etc/ssl/certs/ca-certificates.crt'
if [ -n "$NVIM_LISTEN_ADDRESS" ] if [ -n "$NVIM_LISTEN_ADDRESS" ]
export VISUAL="floaterm" export VISUAL="nvr"
export EDITOR="floaterm" export EDITOR="nvr"
else else
export VISUAL="nvim" export VISUAL="nvim"
export EDITOR="nvim" export EDITOR="nvim"