From 7ab7a3cf61548c697db6547aaea02dc0aec47c45 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Jan 2022 22:33:44 +0100 Subject: Add keymaps for telescope --- lua/settings/keymaps.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/settings/keymaps.lua b/lua/settings/keymaps.lua index 7098891..3ad7161 100644 --- a/lua/settings/keymaps.lua +++ b/lua/settings/keymaps.lua @@ -66,3 +66,12 @@ keymap("t", "", "h", term_opts) keymap("t", "", "j", term_opts) keymap("t", "", "k", term_opts) keymap("t", "", "l", term_opts) + +-- Telescope -- +keymap( + "n", + "f", + "lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))", + opts +) +keymap("n", "", "Telescope live_grep", opts) -- cgit v1.2.3-70-g09d2