Skyler Grey | 3d1b450 | 2022-10-31 00:11:11 +0000 | [diff] [blame] | 1 | {pkgs, ...}: { |
2 | programs = { | ||||
3 | neovim = { | ||||
4 | extraConfig = builtins.readFile ./remote.vim; | ||||
5 | extraPackages = [ | ||||
6 | pkgs.neovim-remote | ||||
7 | ]; | ||||
8 | }; | ||||
9 | zsh.initExtra = '' | ||||
10 | if [ ! -z "$NVIM" ]; then | ||||
11 | alias nvim="${pkgs.neovim-remote}/bin/nvr" | ||||
12 | alias vim="${pkgs.neovim-remote}/bin/nvr" | ||||
13 | alias vi="${pkgs.neovim-remote}/bin/nvr" | ||||
14 | fi | ||||
15 | ''; | ||||
16 | }; | ||||
17 | } |