Skip to content

Commit

Permalink
feat(telescope): improved Telescope mappings in normal and insert mode (
Browse files Browse the repository at this point in the history
#231)

Co-authored-by: sourproton <sourproton98@gmail.com>
  • Loading branch information
sourproton and sourproton committed Feb 10, 2023
1 parent b96ea66 commit fd0a0e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lua/lazyvim/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,23 @@ return {
["<C-Up>"] = function(...)
return require("telescope.actions").cycle_history_prev(...)
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,
},
},
},
Expand Down

0 comments on commit fd0a0e8

Please sign in to comment.