helm/home/profiles/nvim/default.nix
2024-09-03 21:43:23 -07:00

20 lines
345 B
Nix

{ 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;
};
}