about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl31
1 files changed, 10 insertions, 21 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 7871cd3..64c0a5b 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -6,6 +6,11 @@
 
 (map! [n :silent] :<leader>e ":bprev <cr>")
 (map! [n :silent] :<leader>r ":bnext <cr>")
+(map! [n :silent] :<leader>q ":lua require('nvrc.utils').del_buf() <cr>")
+(map! [n :silent] :<leader>w ":enew <cr>")
+(map! [n :silent] :<leader>a ":tabnew <cr>")
+(map! [n :silent] :<leader>s ":set nu! <cr>")
+(map! [n :silent] :<leader>ya ":%y+ <cr>")
 
 (map! [n :silent] :<leader>/
       ":lua require('Comment.api').toggle_current_linewise() <cr>")
@@ -24,29 +29,13 @@
 (map! [n] :t :<plug>Lightspeed_t)
 (map! [n] :T :<plug>Lightspeed_T)
 
-(map! [n :silent] :<leader>mm ":TZMinimalist <cr>")
-(map! [n :silent] :<leader>mf ":TZFocus <cr>")
-(map! [n :silent] :<leader>ma ":TZAtaraxis <cr>")
+(map! [n :silent] :<leader>ts ":TZMinimalist <cr>")
+(map! [n :silent] :<leader>tf ":TZFocus <cr>")
+(map! [n :silent] :<leader>ta ":TZAtaraxis <cr>")
 
 (map! [n :silent] :<leader>h ":lua require('harpoon.ui').nav_file(1) <cr>")
 (map! [n :silent] :<leader>j ":lua require('harpoon.ui').nav_file(2) <cr>")
 (map! [n :silent] :<leader>k ":lua require('harpoon.ui').nav_file(3) <cr>")
 (map! [n :silent] :<leader>l ":lua require('harpoon.ui').nav_file(4) <cr>")
-(map! [n :silent] "<leader>;" ":lua require('harpoon.term').gotoTerminal(1) <cr>")
-(map! [n :silent] "<leader>'" ":lua require('harpoon.term').gotoTerminal(2) <cr>")
-(map! [n :silent] :<leader>g ":lua require('harpoon.ui').toggle_quick_menu() <cr>")
-(map! [n :silent] :<leader>u ":lua require('harpoon.mark').add_file() <cr>")
-
-(map! [t] :jk "<C-\\><C-n>")
-(map! [t :silent] :JK "<C-\\><C-n> :lua require ('nvrc.utils').del_buf() <cr>")
-; FIXME This opens on top of existing vertical/horizontal term
-; TODO come up with a better category key
-(map! [n :silent] :<leader>th ":execute 15 .. 'new +terminal' | let b:term_type = 'hori' <cr>")
-(map! [n :silent] :<leader>tj ":execute 'vnew +terminal' | let b:term_type = 'vert' <cr>")
-(map! [n :silent] :<leader>tk ":execute 'terminal' | let b:term_type = 'wind' <cr>")
-
-(map! [n :silent] :<leader>q ":lua require('nvrc.utils').del_buf() <cr>")
-(map! [n :silent] :<leader>ya ":%y+ <cr>")
-(map! [n :silent] :<leader>bn ":enew <cr>")
-(map! [n :silent] :<leader>wn ":tabnew <cr>")
-(map! [n :silent] :<leader>tl ":set nu! <cr>")
+(map! [n :silent] "<leader>;" ":lua require('harpoon.ui').toggle_quick_menu() <cr>")
+(map! [n :silent] "<leader>'" ":lua require('harpoon.mark').add_file() <cr>")