add fzf for searching files

This commit is contained in:
nganhkhoa 2024-03-07 11:09:43 +07:00
parent cd38bf3d56
commit 847ca0e7ac
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,8 @@
(use :hrsh7th/cmp-buffer)
(use :hrsh7th/cmp-path)
(use :ibhagwan/fzf-lua)
; others
(use :wakatime/vim-wakatime)
(use {1 :kkoomen/vim-doge :run ":call doge#install()"})))

View File

@ -20,6 +20,11 @@
(nu.fn-bridge :OpenVaffle :user.plugin.settings :open-vaffle)
(nvim.set_keymap :n :<leader>dd ":call OpenVaffle()<CR>" {:noremap true :silent true})
;; fzf
(nvim.set_keymap :n :<leader>ff ":lua require('fzf-lua').live_grep()<CR>" {:noremap true :silent true})
;; surround.nvim
(global surround (require :surround))
(surround.setup