{ pkgs, ... }: { home.sessionVariables.EDITOR = "nvim"; home.shellAliases = { k = "cd ~/kitaab/vimwiki; vim -c :VimwikiIndex; cd $OLDPWD"; }; programs.neovim = { enable = true; package = pkgs.unstable.neovim-unwrapped; extraPackages = with pkgs; [ # used for Cody nodejs ]; vimAlias = true; }; }