vim/telescope: adjust keymap for dotfiles and diagnostics
This commit is contained in:
parent
82cc8c3056
commit
cadaa41683
1 changed files with 3 additions and 3 deletions
|
@ -114,8 +114,8 @@ local config = function()
|
||||||
{ 'a', builtin.autocommands , ' Autocommands' , '[a]utocommands' },
|
{ 'a', builtin.autocommands , ' Autocommands' , '[a]utocommands' },
|
||||||
{ 'b', builtin.buffers , ' Buffers' , '[b]uffers' },
|
{ 'b', builtin.buffers , ' Buffers' , '[b]uffers' },
|
||||||
{ 'c', custom.colorschemes , ' Colorschemes' , '[c]olorschemes' },
|
{ 'c', custom.colorschemes , ' Colorschemes' , '[c]olorschemes' },
|
||||||
{ 'd', custom.dotfiles , ' Dotfiles' , '[d]ot[f]iles' },
|
{ 'd', builtin.diagnostics , ' Diagnostics' , '[d]iagnostics' },
|
||||||
{ 'e', builtin.diagnostics , ' Diagnostics' , 'diagnostics/[e]rrors' },
|
-- e
|
||||||
{ 'f', builtin.find_files , ' Files' , '[f]ind files' },
|
{ 'f', builtin.find_files , ' Files' , '[f]ind files' },
|
||||||
{ 'F', custom.all_files , ' ALL files' , 'all [F]iles' },
|
{ 'F', custom.all_files , ' ALL files' , 'all [F]iles' },
|
||||||
{ 'gr', builtin.live_grep , ' Live grep' , 'Live [gr]ep' },
|
{ 'gr', builtin.live_grep , ' Live grep' , 'Live [gr]ep' },
|
||||||
|
@ -143,6 +143,7 @@ local config = function()
|
||||||
-- x
|
-- x
|
||||||
-- y
|
-- y
|
||||||
{ 'z', custom.spell_suggest , ' Spelling suggestions' , '[z] spell suggestions' },
|
{ 'z', custom.spell_suggest , ' Spelling suggestions' , '[z] spell suggestions' },
|
||||||
|
{ '.', custom.dotfiles , ' Dotfiles' , '[.]dotfiles' },
|
||||||
{ ':', builtin.command_history, ' Command history' , '[:]command history' },
|
{ ':', builtin.command_history, ' Command history' , '[:]command history' },
|
||||||
{ '?', builtin.commands , ' Commands' , 'commands [?]' },
|
{ '?', builtin.commands , ' Commands' , 'commands [?]' },
|
||||||
{ '/', builtin.search_history , ' Search history' , '[/]search history' },
|
{ '/', builtin.search_history , ' Search history' , '[/]search history' },
|
||||||
|
@ -154,7 +155,6 @@ local config = function()
|
||||||
})
|
})
|
||||||
|
|
||||||
telescope.load_extension 'fzf'
|
telescope.load_extension 'fzf'
|
||||||
|
|
||||||
telescope.load_extension 'file_browser'
|
telescope.load_extension 'file_browser'
|
||||||
vim.keymap.set('n', '<leader>br', '<cmd>Telescope file_browser<cr>', { desc = ' file [BR]owser' })
|
vim.keymap.set('n', '<leader>br', '<cmd>Telescope file_browser<cr>', { desc = ' file [BR]owser' })
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue