about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-12 12:37:28 +0900
committersefidel <contact@sefidel.net>2024-05-12 12:37:28 +0900
commit14c1b93fc50706d834469482a350ab3025f35f28 (patch)
treef2d6e79956775da649899f55bc393620fb24a093 /fnl
parentc86a7e3668b67d29988eb4d4feb2083e5c0094a7 (diff)
downloadnvimrc-14c1b93fc50706d834469482a350ab3025f35f28.tar.gz
nvimrc-14c1b93fc50706d834469482a350ab3025f35f28.zip
feat(keymaps): more ergonomic keybinds
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl13
1 files changed, 7 insertions, 6 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index ebbbe49..71c4a88 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -9,13 +9,14 @@
 
 (map! [n] "<leader>;" ":")
 
-(map! [n :silent] :<leader>q ":bprev <cr>")
+(map! [n :silent] :<leader>q ":enew <cr>")
 (map! [n :silent] :<leader>w ":bd <cr>")
-(map! [n :silent] :<leader>e ":bnext <cr>")
-(map! [n :silent] :<leader>r ":enew <cr>")
-(map! [n :silent] :<leader>a ":tabnew <cr>")
+(map! [n :silent] :<leader>e ":bprev <cr>")
+(map! [n :silent] :<leader>r ":bnext <cr>")
 (map! [n :silent] :<leader>u ":tabprev <cr>")
-(map! [n :silent] :<leader>o ":tabnext <cr>")
+(map! [n :silent] :<leader>i ":tabnext <cr>")
+(map! [n :silent] :<leader>o ":tabc <cr>")
+(map! [n :silent] :<leader>p ":tabnew <cr>")
 (map! [n :silent] :<leader>s ":set nu! | :set rnu! <cr>")
 (map! [n] :<leader>d ":b ")
 (map! [n :silent] :<leader>ya ":%y+ <cr>")
@@ -73,7 +74,7 @@
 ; LSP
 (map! [n] :fl (vim.lsp.buf.declaration))
 (map! [n] :fd (vim.lsp.buf.definition))
-(map! [n] :fm (vim.lsp.buf.format))
+(map! [n] :fs (vim.lsp.buf.format))
 (map! [n] :fa (vim.lsp.buf.code_action))
 (map! [n] :fu (vim.lsp.buf.implementation))
 (map! [n] :fi (vim.lsp.buf.incoming_calls))