refactor(nvim): improve telescope mappings
This commit is contained in:
parent
3d938c03e2
commit
0cd626e0f6
@ -130,14 +130,21 @@ return {
|
|||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
['<C-j>'] = actions.preview_scrolling_down,
|
["<Tab>"] = actions.toggle_selection,
|
||||||
['<C-k>'] = actions.preview_scrolling_up,
|
["<C-j>"] = actions.preview_scrolling_down,
|
||||||
['<C-h>'] = actions.preview_scrolling_left,
|
["<C-k>"] = actions.preview_scrolling_up,
|
||||||
['<C-l>'] = actions.preview_scrolling_right,
|
["<A-s>"] = actions.preview_scrolling_up,
|
||||||
["<C-d>"] = actions.cycle_history_next + actions.delete_buffer + actions.move_to_top,
|
["<A-a>"] = actions.preview_scrolling_down,
|
||||||
|
["<C-h>"] = actions.preview_scrolling_left,
|
||||||
|
["<C-l>"] = actions.preview_scrolling_right,
|
||||||
|
["<C-d>"] = actions.cycle_history_next,
|
||||||
|
["<A-x>"] = actions.delete_buffer + actions.move_to_top,
|
||||||
["<C-s>"] = actions.cycle_history_prev,
|
["<C-s>"] = actions.cycle_history_prev,
|
||||||
["<C-q>"] = actions.smart_send_to_qflist,
|
["<C-q>"] = actions.smart_send_to_qflist,
|
||||||
},
|
},
|
||||||
|
n = {
|
||||||
|
["<C-q>"] = actions.smart_send_to_qflist,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
prompt_prefix = " ",
|
prompt_prefix = " ",
|
||||||
selection_caret = " ",
|
selection_caret = " ",
|
||||||
|
Loading…
Reference in New Issue
Block a user