about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 20:20:43 +0900
committersefidel <contact@sefidel.net>2023-09-02 20:20:43 +0900
commitcfad6430a535ee0870025bfa4bec813598716f7d (patch)
tree5e4f230de908de8ac0c53bf6507d15dfcc5b1af9 /fnl/nvrc
parent2fa871a243155708ae6f3efb93e8f5beae57faa4 (diff)
downloadnvimrc-cfad6430a535ee0870025bfa4bec813598716f7d.tar.gz
nvimrc-cfad6430a535ee0870025bfa4bec813598716f7d.zip
feat(keymaps)!: sync with wm
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/keymaps.fnl12
1 files changed, 7 insertions, 5 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 349464b..9356c61 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -8,13 +8,15 @@
 (map! [n] "<leader>;" ":")
 
 (map! [n :silent] :<leader>q ":bprev <cr>")
+(map! [n :silent] :<leader>w ":bd <cr>")
 (map! [n :silent] :<leader>e ":bnext <cr>")
-(map! [n :silent] :<leader>o ":enew <cr>")
+(map! [n :silent] :<leader>r ":enew <cr>")
 (map! [n :silent] :<leader>a ":tabnew <cr>")
+(map! [n :silent] :<leader>u ":tabprev <cr>")
+(map! [n :silent] :<leader>o ":tabnext <cr>")
 (map! [n :silent] :<leader>s ":set nu! | :set rnu! <cr>")
-(map! [n :silent] :<leader>d ":buffers <cr>")
+(map! [n] :<leader>d ":b ")
 (map! [n :silent] :<leader>ya ":%y+ <cr>")
-(map! [n :silent] :<leader>u ":bd <cr>")
 (map! [n] :<leader>c ":SwitchPalette ")
 
 (map! [n :silent] :<leader>/  ((. (. (. (require :Comment.api) :toggle) :linewise)
@@ -55,7 +57,7 @@
 (map! [n :silent] :<leader>Po ":lopen<cr>")
 (map! [n :silent] :<leader>Pq ":lclose<cr>")
 
-; work with word wrap
+;; Work with word wrap
 (map! [n :expr :silent] :k "v:count == 0 ? 'gk' : 'k'")
 (map! [n :expr :silent] :j "v:count == 0 ? 'gj' : 'j'")
 
@@ -66,5 +68,5 @@
 (map! [v] :<A-e> ":m '>+1<cr>gv=gv")
 (map! [v] :<A-r> ":m '<-2<cr>gv=gv")
 
-(map! [n] :<leader>ll (vim.lsp.buf.hover))
+(map! [n] :<leader>k (vim.lsp.buf.hover))
 (map! [n] :<leader>b ((. (require :dap) :toggle_breakpoint)))