diff options
-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)) |