summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-04 15:19:09 +0100
committerAdam Stück <adam@adast.xyz>2023-03-04 15:19:09 +0100
commit09dd37c8130835b367eeb40fb706c07a6e675daf (patch)
tree3d2875fb5b644d9f79d3ca7d8fbcf2fee735b047 /.config/nvim/lua
parent8c87af8b46cb4f3394a8f127da838c0ac6f9db2f (diff)
nvim: add mapping to 'alt-tab' buffers
Switch between current and previous buffer
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/mappings.lua1
1 files changed, 1 insertions, 0 deletions
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<CR>', opts)
map('n', '[b', ':bprevious<CR>', opts)
map('n', '[B', ':bfirst<CR>', opts)
map('n', ']B', ':blast<CR>', opts)
+map('n', '<A-t>', ':buffer #<CR>', opts)
map('n', '<leader>co', ':cwindow<CR>', opts)
map('n', ']q', ':cnext<CR>', opts)