From 09dd37c8130835b367eeb40fb706c07a6e675daf Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 4 Mar 2023 15:19:09 +0100 Subject: nvim: add mapping to 'alt-tab' buffers Switch between current and previous buffer --- .config/nvim/lua/mappings.lua | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim') diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index c7530ee..3d554cd 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -52,6 +52,7 @@ map('n', ']b', ':bnext', opts) map('n', '[b', ':bprevious', opts) map('n', '[B', ':bfirst', opts) map('n', ']B', ':blast', opts) +map('n', '', ':buffer #', opts) map('n', 'co', ':cwindow', opts) map('n', ']q', ':cnext', opts) -- cgit v1.2.3-70-g09d2