From 52a8b447286c2bbd83ff99c18313a07fbc6f9a29 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Jul 2022 16:57:02 +0200 Subject: Change telescope buffer to normal mode --- fnl/config/telescope.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fnl/config/telescope.fnl b/fnl/config/telescope.fnl index 0d33d40..e366e21 100644 --- a/fnl/config/telescope.fnl +++ b/fnl/config/telescope.fnl @@ -63,6 +63,7 @@ : actions.move_selection_previous :gg actions.move_to_top :G actions.move_to_bottom + :q actions.close : actions.preview_scrolling_up : actions.preview_scrolling_down : actions.results_scrolling_up @@ -76,7 +77,7 @@ (telescope.load_extension :file_browser) (telescope.load_extension :projects) (nvim.set_keymap :n : - "lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, previewer = false})" + "lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" opts) (nvim.set_keymap :n : "lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})" -- cgit v1.2.3-70-g09d2