diff options
author | Chris <[email protected]> | 2021-03-17 21:15:42 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-17 21:15:42 -0400 |
commit | 098c00fbbd3a908a05aa98972e117cdc2dc879fa (patch) | |
tree | 8ecd030aa8be52c6b9ac3b31b4b8e77ba865e646 | |
parent | c0dba81c2ed80dbf9311dd38114b3d54a0b35086 (diff) |
udpates escape immediately closes telescope
-rw-r--r-- | lua/nv-far/init.lua | 2 | ||||
-rw-r--r-- | lua/nv-telescope/init.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/nv-far/init.lua b/lua/nv-far/init.lua index 6564d816..818e7a96 100644 --- a/lua/nv-far/init.lua +++ b/lua/nv-far/init.lua @@ -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 diff --git a/lua/nv-telescope/init.lua b/lua/nv-telescope/init.lua index c9ea4b90..4b035031 100644 --- a/lua/nv-telescope/init.lua +++ b/lua/nv-telescope/init.lua @@ -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, } } |