Refine some more keybinds to new format and rework Telescope config
This commit is contained in:
parent
4d94052d70
commit
21284ab10d
4 changed files with 19 additions and 22 deletions
|
@ -1,6 +1,16 @@
|
|||
return function()
|
||||
local telescope = require('telescope')
|
||||
telescope.setup {}
|
||||
local builtin = require('telescope.builtin')
|
||||
|
||||
telescope.setup {
|
||||
pickers = {find_files = {find_command = {"fd", "-Ht", "f"}}}
|
||||
}
|
||||
|
||||
telescope.load_extension('fzf')
|
||||
telescope.load_extension('ui-select')
|
||||
|
||||
-- Keybinds
|
||||
vim.keymap.set('n', '<C-t>', vim.cmd.Telescope)
|
||||
vim.keymap.set('n', '<C-f>', builtin.find_files)
|
||||
vim.keymap.set('n', '<C-g>', builtin.live_grep)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue