[NVIM] Update telescope settings
This commit is contained in:
parent
2e0c8872f4
commit
5a20c5f15f
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-Dh98KL+QgJs17frZq1TMMzcnmn5Pc5NS0+d8nC6tBAY=",
|
||||
"path": "/nix/store/bbjv9f31ch9yv0rc1y04wkznn5i3018h-source/home/ags",
|
||||
"narHash": "sha256-cLqKFRw5I2HMWzfIolLyNVmk094KoIqt0zRdRwo7a5Y=",
|
||||
"path": "/nix/store/psxky7mw7y3smgx8n4s8aj1hw2pkra93-source/home/ags",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/bbjv9f31ch9yv0rc1y04wkznn5i3018h-source/home/ags",
|
||||
"path": "/nix/store/psxky7mw7y3smgx8n4s8aj1hw2pkra93-source/home/ags",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -50,7 +50,11 @@ return {
|
|||
},
|
||||
keys = {
|
||||
{ "<leader>u", require("telescope").extensions.undo.undo},
|
||||
{ "<C-Space>", require("telescope.builtin").oldfiles},
|
||||
{ "<C-Space>", function ()
|
||||
local opts = require('telescope.themes').get_ivy({})
|
||||
opts["layout_config"] = {height=0.2}
|
||||
require("telescope.builtin").oldfiles(opts)
|
||||
end},
|
||||
{ "<C-f>", function () require"telescope.builtin".live_grep({ path_display = { 'smart' }, }) end},
|
||||
{ "<C-p>", function () -- git files
|
||||
local opts = require('telescope.themes').get_ivy({})
|
||||
|
@ -60,12 +64,12 @@ return {
|
|||
require"telescope.builtin".find_files(opts)
|
||||
end
|
||||
end},
|
||||
{ "<C-o>", function () -- project files
|
||||
{ "<C-S-o>", function () -- project files
|
||||
local opts = require('telescope.themes').get_ivy({})
|
||||
opts["layout_config"] = {height=0.2}
|
||||
require"telescope.builtin".find_files(opts)
|
||||
end},
|
||||
{ "<C-S-o>", function () -- buffer files
|
||||
{ "<C-o>", function () -- buffer files
|
||||
local opts = require('telescope.themes').get_ivy({})
|
||||
opts["layout_config"] = {height=0.2}
|
||||
require"telescope.builtin".buffers(opts)
|
||||
|
|
Loading…
Reference in New Issue