mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 02:24:58 +02:00
udpates escape immediately closes telescope
This commit is contained in:
parent
c0dba81c2e
commit
098c00fbbd
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
vim.cmd([[
|
||||
set lazyredraw " improve scrolling performance when navigating through large results
|
||||
|
||||
let g:far#window_width=50
|
||||
let g:far#window_width=30
|
||||
" Use %:p with buffer option only
|
||||
let g:far#file_mask_favorites=['%:p', '**/*.*', '**/*.js', '**/*.py', '**/*.java', '**/*.css', '**/*.html', '**/*.vim', '**/*.cpp', '**/*.c', '**/*.h', ]
|
||||
let g:far#window_min_content_width=30
|
||||
|
|
|
@ -42,6 +42,7 @@ require('telescope').setup {
|
|||
-- To disable a keymap, put [map] = false
|
||||
-- So, to not map "<C-n>", just put
|
||||
-- ["<c-x>"] = false,
|
||||
["<esc>"] = actions.close,
|
||||
|
||||
-- Otherwise, just set the mapping to the function that you want it to be.
|
||||
-- ["<C-i>"] = actions.select_horizontal,
|
||||
|
@ -55,7 +56,6 @@ require('telescope').setup {
|
|||
n = {
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<C-k>"] = actions.move_selection_previous
|
||||
-- ["<esc>"] = actions.close,
|
||||
-- ["<C-i>"] = my_cool_custom_action,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue