diff --git a/modules/nixvim/keybindings.nix b/modules/nixvim/keybindings.nix index 35489ea..2f18c5f 100644 --- a/modules/nixvim/keybindings.nix +++ b/modules/nixvim/keybindings.nix @@ -1,5 +1,9 @@ { - plugins.which-key.enable = true; + plugins.which-key = { + enable = true; + icons.mappings = false; + }; + keymaps = [ # Open { @@ -51,14 +55,6 @@ options.desc = "Leave neovim"; } - # Diagnostics - { - mode = [ "n" ]; - key = "ta"; - action = "TodoQuickFix"; - options.desc = "Show all todo comments"; - } - # Window { mode = [ "n" ]; @@ -120,19 +116,5 @@ action = "close"; options.desc = "Delete window only"; } - - # Config - { - mode = [ "n" ]; - key = "xn"; - action = "set number relativenumber"; - options.desc = "Show relative numbers"; - } - { - mode = [ "n" ]; - key = "xr"; - action = "source $MYVIMRC"; - options.desc = "Reload config"; - } ]; }