about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
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)))