Add new Telescope mappings

This commit is contained in:
Edward Litherland-Smith 2022-09-16 09:47:48 +01:00
parent da84f6093c
commit 939ffe178f

View file

@ -91,7 +91,9 @@ command Bd b# | bd #
command! BufOnly silent! execute "%bd|e#|bd#" command! BufOnly silent! execute "%bd|e#|bd#"
nnoremap <leader>a :Ack!<Space> nnoremap <leader>a :Ack!<Space>
nnoremap <leader>sr :SnipRun<cr> nnoremap <leader>sr :SnipRun<cr>
nnoremap <leader>; <cmd>Telescope builtin<cr>
nnoremap <leader>ff <cmd>Telescope find_files<cr> nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fr <cmd>Telescope resume<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr> nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr> nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr> nnoremap <leader>fh <cmd>Telescope help_tags<cr>
@ -99,6 +101,8 @@ nnoremap <leader>fk <cmd>Telescope aerial<cr>
nnoremap <leader>fd <cmd>Telescope lsp_document_symbols<cr> nnoremap <leader>fd <cmd>Telescope lsp_document_symbols<cr>
nnoremap <leader>fe <cmd>Telescope diagnostics<cr> nnoremap <leader>fe <cmd>Telescope diagnostics<cr>
nnoremap <leader>fn <cmd>Telescope notify<cr> nnoremap <leader>fn <cmd>Telescope notify<cr>
nnoremap <leader>ft <cmd>Telescope treesitter<cr>
nnoremap <leader>fz <cmd>Telescope current_buffer_fuzzy_find<cr>
set splitbelow set splitbelow
set splitright set splitright