From 4e04b1c8fadfebda2d96bdbb0eaf5e28fc917171 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 11 Sep 2024 12:30:28 -0700 Subject: [PATCH] feat: disable line numbers in terminal --- config/autocmds.nix | 10 ++++++++++ config/default.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 config/autocmds.nix 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;