summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 16:57:02 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 16:57:02 +0200
commit52a8b447286c2bbd83ff99c18313a07fbc6f9a29 (patch)
tree24cf573e055f9f926fd5de9c74c2b2c294458521 /fnl
parent55de7e544a98ab64404470ccb681ef2ecc80bc87 (diff)
Change telescope buffer to normal mode
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/telescope.fnl3
1 files changed, 2 insertions, 1 deletions
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 @@
:<Up> actions.move_selection_previous
:gg actions.move_to_top
:G actions.move_to_bottom
+ :q actions.close
:<C-u> actions.preview_scrolling_up
:<C-d> actions.preview_scrolling_down
:<PageUp> actions.results_scrolling_up
@@ -76,7 +77,7 @@
(telescope.load_extension :file_browser)
(telescope.load_extension :projects)
(nvim.set_keymap :n :<C-b>
- "<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, previewer = false})<cr>"
+ "<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>"
opts)
(nvim.set_keymap :n :<C-f>
"<cmd>lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})<cr>"