diff --git a/config/config.nix b/config/config.nix index 0c7e5db..7772461 100644 --- a/config/config.nix +++ b/config/config.nix @@ -20,4 +20,5 @@ }; globals.mapleader = " "; + } diff --git a/config/keys.nix b/config/keys.nix index da2e4b9..3f80506 100644 --- a/config/keys.nix +++ b/config/keys.nix @@ -10,5 +10,28 @@ }; } + # barbar.nvim + { + mode = "n"; + action = "BufferClose"; + key = ""; + options = { + desc = "Close buffer"; + }; + } + + { + mode = "n"; + action = "BufferOrderByName"; + key = "sn"; + options = { + desc = "Sort buffer tabs by name"; + }; + } ]; + + plugins.fzf-lua.keymaps = { + "" = "live_grep"; + "fg" = "git_files"; + }; } diff --git a/config/plugins.nix b/config/plugins.nix index f419ae7..ed1c67a 100644 --- a/config/plugins.nix +++ b/config/plugins.nix @@ -4,6 +4,7 @@ pkgs, ... }: + { plugins = { lsp = { @@ -91,5 +92,10 @@ }; lsp-lines.enable = true; + + which-key = { + enable = true; + }; }; + }