mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +02:00
feat(telescope): improved Telescope mappings in normal and insert mode (#231)
Co-authored-by: sourproton <sourproton98@gmail.com>
This commit is contained in:
parent
b96ea665b3
commit
fd0a0e829d
1 changed files with 17 additions and 0 deletions
|
@ -133,6 +133,23 @@ return {
|
||||||
["<C-Up>"] = function(...)
|
["<C-Up>"] = function(...)
|
||||||
return require("telescope.actions").cycle_history_prev(...)
|
return require("telescope.actions").cycle_history_prev(...)
|
||||||
end,
|
end,
|
||||||
|
["<C-j>"] = function(...)
|
||||||
|
return require("telescope.actions").move_selection_next(...)
|
||||||
|
end,
|
||||||
|
["<C-k>"] = function(...)
|
||||||
|
return require("telescope.actions").move_selection_previous(...)
|
||||||
|
end,
|
||||||
|
["<C-n>"] = function(...)
|
||||||
|
return require("telescope.actions").preview_scrolling_down(...)
|
||||||
|
end,
|
||||||
|
["<C-p>"] = function(...)
|
||||||
|
return require("telescope.actions").preview_scrolling_up(...)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
n = {
|
||||||
|
["q"] = function(...)
|
||||||
|
return require("telescope.actions").close(...)
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue