nvim: update Telescope mappings
This commit is contained in:
parent
bd9077d277
commit
65097dfffe
|
@ -1,4 +1,11 @@
|
|||
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
||||
nnoremap <leader>ff <cmd>Telescope git_files<cr>
|
||||
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||
" Builtin
|
||||
nnoremap <leader>fb <CMD>lua require("telescope.builtin").buffers()<CR>
|
||||
nnoremap <leader>fc <CMD>lua require("telescope.builtin").lsp_code_actions()<CR>
|
||||
nnoremap <leader>fd <CMD>lua require("telescope.builtin").lsp_workspace_diagnostics()<CR>
|
||||
nnoremap <leader>fe <CMD>lua require("telescope.builtin").file_browser{ cwd = vim.fn.expand("%:p:h") }<CR>
|
||||
nnoremap <leader>ff <CMD>lua require("telescope.builtin").find_files{ hidden = true }<CR>
|
||||
nnoremap <leader>fg <CMD>lua require("telescope.builtin").git_files{}<CR>
|
||||
nnoremap <leader>fh <CMD>lua require("telescope.builtin").help_tags()<CR>
|
||||
nnoremap <leader>fl <CMD>lua require("telescope.builtin").live_grep()<CR>
|
||||
nnoremap <leader>fr <CMD>lua require("telescope.builtin").registers()<CR>
|
||||
nnoremap <leader>fr <CMD>lua require("telescope.builtin").registers()<CR>
|
||||
|
|
Loading…
Reference in a new issue