diff --git a/config/autocmds.nix b/config/autocmds.nix new file mode 100644 index 0000000..153b957 --- /dev/null +++ b/config/autocmds.nix @@ -0,0 +1,10 @@ +{ + autoCmd = [ + { + command = "setlocal nonumber norelativenumber"; + event = [ + "TermOpen" + ]; + } + ]; +} diff --git a/config/default.nix b/config/default.nix index 05ef4c9..57fa937 100644 --- a/config/default.nix +++ b/config/default.nix @@ -4,6 +4,7 @@ ./plugins ./keymaps.nix ./init.nix + ./autocmds.nix ]; viAlias = true; vimAlias = true;