mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 04:41:46 +00:00
better telescope.builtin.oldfiles configuration
This commit is contained in:
parent
d45de7ce83
commit
faca7b63ce
@ -111,8 +111,12 @@ return {
|
||||
vim.keymap.set('n', '<leader>sw', builtin.grep_string, { desc = '[S]earch current [W]ord' })
|
||||
vim.keymap.set('n', '<leader>sg', builtin.live_grep, { desc = '[S]earch by [G]rep' })
|
||||
vim.keymap.set('n', '<leader>sd', builtin.diagnostics, { desc = '[S]earch [D]iagnostics' })
|
||||
vim.keymap.set('n', '<leader>sr', builtin.resume, { desc = '[S]earch [R]esume' })
|
||||
vim.keymap.set('n', '<leader>s.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' })
|
||||
vim.keymap.set('n', '<leader>sr', function()
|
||||
builtin.oldfiles {
|
||||
only_cwd = true,
|
||||
}
|
||||
end, { desc = '[S]earch [R]ecent Files in CWD' })
|
||||
vim.keymap.set('n', '<leader>s.', builtin.oldfiles, { desc = '[S]earch Recent Global Files' })
|
||||
vim.keymap.set('n', '<leader>sc', builtin.command_history, { desc = '[S]earch [C]ommand History' })
|
||||
vim.keymap.set('n', '<leader><leader>', function()
|
||||
builtin.buffers {
|
||||
|
Loading…
Reference in New Issue
Block a user