diff --git a/config/keymaps.nix b/config/keymaps.nix index 1b5f11b..1ce1f35 100644 --- a/config/keymaps.nix +++ b/config/keymaps.nix @@ -52,6 +52,24 @@ noremap = true; }; } + { + mode = "n"; + key = ""; + action = "zz"; + options = { + silent = true; + noremap = true; + }; + } + { + mode = "n"; + key = ""; + action = "zz"; + options = { + silent = true; + noremap = true; + }; + } { mode = "n"; action = ":CellularAutomaton make_it_rain"; @@ -336,30 +354,21 @@ }; } { - action = ":Neogit kind=floating"; + action = ":Neogit"; key = "gg"; options = { silent = true; noremap = true; - desc = "Open Neogit in floating window"; + desc = "Open Neogit"; }; } { - action = ":Neogit"; - key = "gG"; - options = { - silent = true; - noremap = true; - desc = "Open Neogit in standalone tab"; - }; - } - { - action = ":Neogit commit"; + action = ":Neogit kind=floating commit"; key = "gc"; options = { silent = true; noremap = true; - desc = "Open commit menu"; + desc = "Quickly open Neogit commit menu"; }; } {