diff --git a/nvim/.config/nvim/plugins/telescope.vim b/nvim/.config/nvim/plugins/telescope.vim index 5c00bd6..9ed0f90 100644 --- a/nvim/.config/nvim/plugins/telescope.vim +++ b/nvim/.config/nvim/plugins/telescope.vim @@ -1,4 +1,11 @@ -nnoremap fb Telescope buffers -nnoremap ff Telescope git_files -nnoremap fg Telescope live_grep -nnoremap fh Telescope help_tags +" Builtin +nnoremap fb lua require("telescope.builtin").buffers() +nnoremap fc lua require("telescope.builtin").lsp_code_actions() +nnoremap fd lua require("telescope.builtin").lsp_workspace_diagnostics() +nnoremap fe lua require("telescope.builtin").file_browser{ cwd = vim.fn.expand("%:p:h") } +nnoremap ff lua require("telescope.builtin").find_files{ hidden = true } +nnoremap fg lua require("telescope.builtin").git_files{} +nnoremap fh lua require("telescope.builtin").help_tags() +nnoremap fl lua require("telescope.builtin").live_grep() +nnoremap fr lua require("telescope.builtin").registers() +nnoremap fr lua require("telescope.builtin").registers()