From 0e8ef35324fbc1ee13257912c6fe6a82c01d42c6 Mon Sep 17 00:00:00 2001 From: louie Date: Tue, 28 Jun 2022 18:55:40 -0700 Subject: Keymap to navigate buffers --- lua/user/keymaps.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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", "", "gt", opts) keymap("n", "", "gT", opts) keymap("n", "", "gt", opts) +-- Navigate buffers (both hjkl and arrow keys) +keymap("n", "", ":bnext", opts) +keymap("n", "", ":bprevious", opts) +keymap("n", "", ":bnext", opts) +keymap("n", "", ":bprevious", opts) + -- Open Lexplorer --keymap("n", "e", ":Lex 30", opts) -- cgit