udpates escape immediately closes telescope

This commit is contained in:
Chris 2021-03-17 21:15:42 -04:00
parent c0dba81c2e
commit 098c00fbbd
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,
}
}