diff options
author | liepieshov <liepieshov@gmail.com> | 2023-04-24 17:57:47 +0100 |
---|---|---|
committer | liepieshov <liepieshov@gmail.com> | 2023-04-24 17:57:47 +0100 |
commit | 0dfc1592862c145f72a0844521542d1522f33607 (patch) | |
tree | aaaf97cddbd3bc9f91c6d172ce2adf92ddc6d89e | |
parent | 9924f7e0a0fbc2caea91007a5d66cb9aa74827db (diff) |
setup a standard binding for searching git files using telescope
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -276,6 +276,7 @@ vim.keymap.set('n', '<leader>/', function() }) end, { desc = '[/] Fuzzily search in current buffer' }) +vim.keymap.set('n', '<leader>gf', require('telescope.builtin').git_files, { desc = 'Search [G]it [F]iles' }) vim.keymap.set('n', '<leader>sf', require('telescope.builtin').find_files, { desc = '[S]earch [F]iles' }) vim.keymap.set('n', '<leader>sh', require('telescope.builtin').help_tags, { desc = '[S]earch [H]elp' }) vim.keymap.set('n', '<leader>sw', require('telescope.builtin').grep_string, { desc = '[S]earch current [W]ord' }) |