new: nvim: telescope keybindings
This commit is contained in:
parent
819f90eaeb
commit
4c426c8089
1 changed files with 12 additions and 1 deletions
|
@ -320,7 +320,18 @@ require('lualine_setup')
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- telescope
|
-- telescope
|
||||||
vim.keymap.set('n', '<c-P>', function() require('telescope.builtin').find_files { sort_lastused = true } end) -- fd?
|
local builtin = require('telescope.builtin')
|
||||||
|
vim.keymap.set('n', '<c-P>', function() builtin.find_files { sort_lastused = true } end) -- fd?
|
||||||
|
vim.keymap.set('n', '<leader>ff', function() builtin.find_files { sort_lastused = true } end)
|
||||||
|
vim.keymap.set('n', '<leader>fw', builtin.lsp_workspace_symbols)
|
||||||
|
vim.keymap.set('n', '<leader>fd', builtin.lsp_document_symbols)
|
||||||
|
vim.keymap.set('n', '<leader>fb', builtin.buffers)
|
||||||
|
vim.keymap.set('n', '<leader>fg', builtin.live_grep)
|
||||||
|
vim.keymap.set('n', '<leader>fh', builtin.help_tags)
|
||||||
|
vim.keymap.set('n', '<leader>fc', builtin.git_commits)
|
||||||
|
vim.keymap.set('n', '<leader>fgc', builtin.git_commits)
|
||||||
|
vim.keymap.set('n', '<leader>fs', builtin.git_status)
|
||||||
|
vim.keymap.set('n', '<leader>fgs', builtin.git_status)
|
||||||
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
|
|
Loading…
Reference in a new issue