From 61f619566a3c60be5477bef767702de811737315 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 6 Dec 2021 20:54:36 +0100 Subject: [PATCH] Add buffer navigation mappings --- home/.config/nvim/lua/mappings.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/.config/nvim/lua/mappings.lua b/home/.config/nvim/lua/mappings.lua index 60e881a..cba2b62 100644 --- a/home/.config/nvim/lua/mappings.lua +++ b/home/.config/nvim/lua/mappings.lua @@ -19,6 +19,12 @@ Keymap("n", "", ":tabmove +") Keymap("n", "", ":tabmove -") Keymap("n", "", ":tabp") Keymap("n", "", ":tabn") +Keymap("n", "", ":tabc") + +-- Buffer navigation +Keymap("n", "", ":bn") +Keymap("n", "", ":bp") +Keymap("n", "", ":bd") -- Set splits navigation to just ALT + hjkl Keymap("n", "", "h")