diff options
Diffstat (limited to 'fnl/nvrc/keymaps.fnl')
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index 67b0d70..790d21b 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -12,14 +12,12 @@ (map! [v :silent] :<leader>/ ":lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode()) <cr>") -(map! [n :silent] :<leader>ff ":Telescope find_files <cr>") -(map! [n :silent] :<leader>fc ":Telescope grep_string <cr>") -(map! [n :silent] :<leader>fs ":Telescope live_grep <cr>") -(map! [n :silent] :<leader>fa - ":Telescope find_files follow=true no_ignore=true hidden=true <cr>") -(map! [n :silent] :<leader>fb ":Telescope buffers <cr>") -(map! [n :silent] :<leader>gc ":Telescope git_commits <cr>") -(map! [n :silent] :<leader>gs ":Telescope git_status <cr>") +(map! [n :silent] :<leader>ff ":FzfLua files <cr>") +(map! [n :silent] :<leader>fc ":FzfLua grep <cr>") +(map! [n :silent] :<leader>fs ":FzfLua live_grep <cr>") +(map! [n :silent] :<leader>fb ":FzfLua buffers <cr>") +(map! [n :silent] :<leader>gc ":FzfLua git_commits <cr>") +(map! [n :silent] :<leader>gs ":FzfLua git_status <cr>") (map! [n] :f :<plug>Lightspeed_f) (map! [n] :F :<plug>Lightspeed_F) @@ -31,14 +29,13 @@ (map! [n :silent] :<leader>ra ":TZAtaraxis <cr>") (map! [t] :jk "<C-\\><C-n>") -(map! [t :silent] :JK "<C-\\><C-n> :lua require ('nvrc.utils').close_buf() <cr>") -(map! [n :silent] :<leader>tl ":Telescope terms <cr>") +(map! [t :silent] :JK "<C-\\><C-n> :lua require ('nvrc.utils').del_buf() <cr>") ; FIXME This opens on top of existing vertical/horizontal term (map! [n :silent] :<leader>th ":execute 15 .. 'new +terminal' | let b:term_type = 'hori' <cr>") (map! [n :silent] :<leader>tv ":execute 'vnew +terminal' | let b:term_type = 'vert' <cr>") (map! [n :silent] :<leader>tn ":execute 'terminal' | let b:term_type = 'wind' <cr>") -(map! [n :silent] :<leader>q ":lua require('nvrc.utils').close_buf() <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>") |