about summary refs log tree commit diff
path: root/fnl/nvrc/keymaps.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/keymaps.fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl19
1 files changed, 10 insertions, 9 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 5af2d04..fb7091e 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -6,24 +6,23 @@
 
 (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>q ((. (require :nvrc.utils) :del_buf)))
 (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>d ":buffers <cr>")
 (map! [n :silent] :<leader>ya ":%y+ <cr>")
 
-(map! [n :silent] :<leader>/
-      ":lua require('Comment.api').toggle_current_linewise() <cr>")
+(map! [n :silent] :<leader>/ ((. (require :Comment.api) :toggle_current_linewise)))
 (map! [v :silent] :<leader>/
       ":lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode()) <cr>")
 
-(map! [n :silent] :<leader>ff ":FzfLua files <cr>")
-(map! [n :silent] :<leader>fd ":FzfLua grep <cr>")
-(map! [n :silent] :<leader>fl ":FzfLua live_grep <cr>")
-(map! [n :silent] :<leader>fb ":FzfLua buffers <cr>")
-(map! [n :silent] :<leader>fg ":FzfLua git_commits <cr>")
-(map! [n :silent] :<leader>fh ":FzfLua git_status <cr>")
+(map! [n :silent] :<leader>ff ((. (require :fzf-lua) :files)))
+(map! [n :silent] :<leader>fd ((. (require :fzf-lua) :grep)))
+(map! [n :silent] :<leader>fl ((. (require :fzf-lua) :live_grep)))
+(map! [n :silent] :<leader>fb ((. (require :fzf-lua) :buffer)))
+(map! [n :silent] :<leader>fg ((. (require :fzf-lua) :git_commits)))
+(map! [n :silent] :<leader>fh ((. (require :fzf-lua) :git_status)))
 
 (map! [n] :f :<plug>Lightspeed_f)
 (map! [n] :F :<plug>Lightspeed_F)
@@ -31,3 +30,5 @@
 (map! [n] :T :<plug>Lightspeed_T)
 
 (map! [n :silent] :<leader>t ":TZAtaraxis <cr>")
+
+(map! [n :silent] :<leader>g ((. (require :lir.float) :toggle)))