20 lines
345 B
Nix
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;
|
|
};
|
|
}
|
|
|