blob: 7b639a428f335193238f4442006f4756a9aa2b0d [file] [log] [blame]
{ pkgs, ... }: {
programs = {
neovim = {
extraConfig = builtins.readFile ./remote.vim;
extraPackages = [
pkgs.neovim-remote
];
};
zsh.initExtra = ''
if [ ! -z "$NVIM" ]; then
alias nvim="${pkgs.neovim-remote}/bin/nvr"
alias vim="${pkgs.neovim-remote}/bin/nvr"
alias vi="${pkgs.neovim-remote}/bin/nvr"
fi
'';
};
}