changeset 747:c0395223c18f

feat: add mapping to search for files
author zegervdv <zegervdv@me.com>
date Thu, 12 Jan 2023 10:11:01 +0100
parents cc66c8f2d548
children 300f45100370
files .chezmoitemplates/init.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua	Thu Jan 12 10:06:00 2023 +0100
+++ b/.chezmoitemplates/init.lua	Thu Jan 12 10:11:01 2023 +0100
@@ -561,6 +561,7 @@
         end
 
         vim.keymap.set({ 'n' }, '<leader>fg', function() grep_opts() end, { desc = 'Live grep prompting for options' })
+        vim.keymap.set({ 'n' }, '<leader>ff', function() fzf.files() end, { desc = 'Search for files' })
 
         function _G.__live_grep(motion)
           local word = get_selected_word()