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