✨ feat(nvim): new telescope mappings
This commit is contained in:
parent
e79e6c8f11
commit
d757f4f38a
1 changed files with 7 additions and 2 deletions
|
@ -53,13 +53,13 @@ return {
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<C-k>"] = actions.move_selection_previous,
|
["<C-k>"] = actions.move_selection_previous,
|
||||||
["<C-r>"] = actions.delete_buffer,
|
|
||||||
["<C-j>"] = actions.move_selection_next,
|
["<C-j>"] = actions.move_selection_next,
|
||||||
["<S-esc>"] = actions.close,
|
["<S-esc>"] = actions.close,
|
||||||
["<C-p>"] = require("telescope.actions.layout").toggle_preview,
|
["<C-p>"] = require("telescope.actions.layout").toggle_preview,
|
||||||
|
["<c-l>"] = require("telescope.actions.layout").cycle_layout_next,
|
||||||
|
["<a-l>"] = require("telescope.actions.layout").cycle_layout_prev,
|
||||||
["<C-Down>"] = actions.cycle_history_next,
|
["<C-Down>"] = actions.cycle_history_next,
|
||||||
["<C-Up>"] = actions.cycle_history_prev,
|
["<C-Up>"] = actions.cycle_history_prev,
|
||||||
["<esc>"] = actions.close,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
|
@ -83,6 +83,11 @@ return {
|
||||||
width = 0.6,
|
width = 0.6,
|
||||||
},
|
},
|
||||||
sorting_strategy = "ascending",
|
sorting_strategy = "ascending",
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
["<c-r>"] = require("telescope.actions").delete_buffer,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
spell_suggest = {
|
spell_suggest = {
|
||||||
layout_config = {
|
layout_config = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue