Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame^] | 1 | { pkgs, ... }: { |
Skyler Grey | 3d1b450 | 2022-10-31 00:11:11 +0000 | [diff] [blame] | 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 | } |