feat(nvim): add dir-telescope plugin

This commit is contained in:
Stefan Imhoff
2022-11-01 16:09:17 +01:00
parent 6b84432447
commit 903d3278e0
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ telescope.load_extension("projects")
telescope.load_extension("heading")
telescope.load_extension("gh")
telescope.load_extension("git_worktree")
telescope.load_extension("dir")
-- Keymaps
keymap("n", "<C-p>", [[<Cmd>Telescope find_files<CR>]], opts)
@@ -33,6 +34,8 @@ keymap("n", "<leader>bm", [[<Cmd>Telescope bookmarks<CR>]], opts)
keymap("n", "<leader>f", [[<Cmd>Telescope current_buffer_fuzzy_find<CR>]], opts)
keymap("n", "<leader>fa", [[<Cmd>Telescope find_files hidden=true<CR>]], opts)
keymap("n", "<leader>fb", [[<Cmd>Telescope file_browser<CR>]], opts)
keymap("n", "<leader>fd", [[<Cmd>Telescope dir live_grep<CR>]], opts)
keymap("n", "<leader>ff", [[<Cmd>Telescope dir find_files<CR>]], opts)
keymap("n", "<leader>gb", [[<Cmd>Telescope git_branches<CR>]], opts)
keymap("n", "<leader>gs", [[<Cmd>Telescope git_status<CR>]], opts)
keymap("n", "<leader>gwc", [[<Cmd>Telescope git_worktree create_git_worktree<CR>]], opts)