feat(nvim): improve telescope history
This commit is contained in:
parent
3a26198623
commit
e3ab39e11d
@ -11,6 +11,10 @@ telescope.setup({
|
|||||||
'--column',
|
'--column',
|
||||||
'--ignore-case',
|
'--ignore-case',
|
||||||
},
|
},
|
||||||
|
history = {
|
||||||
|
path = '~/.local/share/nvim/databases/telescope_history.sqlite3',
|
||||||
|
limit = 1000,
|
||||||
|
},
|
||||||
prompt_prefix = ' ',
|
prompt_prefix = ' ',
|
||||||
selection_caret = ' ',
|
selection_caret = ' ',
|
||||||
entry_prefix = ' ',
|
entry_prefix = ' ',
|
||||||
@ -66,3 +70,4 @@ telescope.load_extension('file_browser')
|
|||||||
telescope.load_extension('notify')
|
telescope.load_extension('notify')
|
||||||
telescope.load_extension('fzf')
|
telescope.load_extension('fzf')
|
||||||
telescope.load_extension('ui-select')
|
telescope.load_extension('ui-select')
|
||||||
|
telescope.load_extension('smart_history')
|
||||||
|
@ -197,6 +197,7 @@ return packer.startup({
|
|||||||
'nvim-telescope/telescope-file-browser.nvim',
|
'nvim-telescope/telescope-file-browser.nvim',
|
||||||
'artart222/telescope_find_directories',
|
'artart222/telescope_find_directories',
|
||||||
'nvim-telescope/telescope-ui-select.nvim',
|
'nvim-telescope/telescope-ui-select.nvim',
|
||||||
|
{ 'nvim-telescope/telescope-smart-history.nvim', requires = 'tami5/sqlite.lua' },
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
|
Loading…
Reference in New Issue
Block a user