From f7832e1d5b4d1b10c5d67c010a1d3c3594b4f712 Mon Sep 17 00:00:00 2001 From: harry123 Date: Mon, 2 Jun 2025 22:52:26 +0200 Subject: [PATCH] more keybindings --- config/keys.nix | 45 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/config/keys.nix b/config/keys.nix index cb174b7..4fd0f9e 100644 --- a/config/keys.nix +++ b/config/keys.nix @@ -14,12 +14,41 @@ { mode = "n"; action = "BufferNext"; - key = ""; + key = ""; options = { desc = "Next buffer"; }; } + { + mode = "n"; + action = "BufferPrevious"; + key = ""; + options = { + desc = "Previous buffer"; + }; + } + +/* + { + mode = "n"; + action = "BufferMovePrevious"; + key = "H"; + options = { + desc = "Move buffer to left"; + }; + } + + { + mode = "n"; + action = "BufferMoveNext"; + key = "L"; + options = { + desc = "Move buffer to right"; + }; + } + */ + { mode = "n"; action = "BufferClose"; @@ -39,13 +68,13 @@ } { - mode = "n"; - action = "LazyGit"; - key = "gg"; - options = { - desc = "Open lazygit"; - }; - } + mode = "n"; + action = "LazyGit"; + key = "gg"; + options = { + desc = "Open lazygit"; + }; + } ]; plugins.fzf-lua.keymaps = {