summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/user/keymaps.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua
index 26fb9f7..2e03cec 100644
--- a/lua/user/keymaps.lua
+++ b/lua/user/keymaps.lua
@@ -35,6 +35,12 @@ keymap("n", "<S-l>", "gt", opts)
keymap("n", "<S-Left>", "gT", opts)
keymap("n", "<S-Right>", "gt", opts)
+-- Navigate buffers (both hjkl and arrow keys)
+keymap("n", "<S-j>", ":bnext<CR>", opts)
+keymap("n", "<S-k>", ":bprevious<CR>", opts)
+keymap("n", "<S-Down>", ":bnext<CR>", opts)
+keymap("n", "<S-Up>", ":bprevious<CR>", opts)
+
-- Open Lexplorer
--keymap("n", "<leader>e", ":Lex 30<cr>", opts)