summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2026-01-08 08:21:17 +0200
committerDrNuget <drnuget@outlook.com>2026-01-08 08:21:17 +0200
commit39a07a96b78dc03949984e46ec6483dcec7cd3de (patch)
tree71c299ae071dddf94d8d503605a1d8be9b1e6364 /.config
parent80e7738a420889e84363cdd0bd6a01f5ff5b47cb (diff)
downloaddotfiles-39a07a96b78dc03949984e46ec6483dcec7cd3de.tar.gz
vimrc add keybinds for switching buffers
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 4a1a0e9..0977a2c 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -33,6 +33,10 @@ vim.cmd([=[
nnoremap <leader>t :NvimTreeOpen<enter>
nnoremap <leader>ff :Telescope find_files hidden=true<enter>
+ " Buffer keybinds
+ nnoremap <leader>b :bn<enter>
+ nnoremap <leader>B :bp<enter>
+
nnoremap <tab> <esc>/<++><enter>ca<
" Default to commandline in command mode