lazygit.nvim icon indicating copy to clipboard operation
lazygit.nvim copied to clipboard

Add docs for neovim-remote integration for fish

Open aabccd021 opened this issue 3 years ago • 1 comments

Fish has different syntax for setting up neovim-remote:

if [ -n "$NVIM_LISTEN_ADDRESS" ];
    alias nvim="nvr -cc split --remote-wait +'set bufhidden=wipe'"
end
if [ -n "$NVIM_LISTEN_ADDRESS" ];
    set -x VISUAL "nvr -cc split --remote-wait +'set bufhidden=wipe'"
    set -x EDITOR "nvr -cc split --remote-wait +'set bufhidden=wipe'"
else
    set -x VISUAL "nvim"
    set -x EDITOR "nvim"
end

Can we add this to readme?

aabccd021 avatar Sep 10 '22 13:09 aabccd021

also mention it should be put inside ~/.config/fish/config.fish

nicoandresr avatar Jul 04 '23 07:07 nicoandresr