telescope: added 1, 2, 3, 4, 5 keybindings
This commit is contained in:
parent
c0f127392c
commit
163fa19c4d
10
lua/plugins/telescope.lua
Normal file
10
lua/plugins/telescope.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
return {
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
keys = {
|
||||||
|
{ "1", "<cmd>Telescope buffers sort_mru=true sort_lastused=true<cr>", desc = "Buffers" },
|
||||||
|
{ "2", LazyVim.pick "files", desc = "Find Files (Root Dir)" },
|
||||||
|
{ "3", LazyVim.pick "live_grep", desc = "Grep (Root Dir)" },
|
||||||
|
{ "4", "<cmd>Telescope quickfix<cr>", desc = "Quickfix List" },
|
||||||
|
{ "5", LazyVim.pick("oldfiles", { cwd = vim.uv.cwd() }), desc = "Recent (cwd)" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue