diff options
author | sefidel <contact@sefidel.net> | 2024-05-12 12:37:28 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-05-12 12:37:28 +0900 |
commit | 14c1b93fc50706d834469482a350ab3025f35f28 (patch) | |
tree | f2d6e79956775da649899f55bc393620fb24a093 /fnl/nvrc | |
parent | c86a7e3668b67d29988eb4d4feb2083e5c0094a7 (diff) | |
download | nvimrc-14c1b93fc50706d834469482a350ab3025f35f28.tar.gz nvimrc-14c1b93fc50706d834469482a350ab3025f35f28.zip |
feat(keymaps): more ergonomic keybinds
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 13 |
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)) |