summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-17 23:19:16 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-17 23:19:16 +0100
commitc015df423694b3bd5fb888762a9910f1d1851351 (patch)
treeb78e0d27e325fce11163c6f7e91ec8a0ef017abb
parent64d19d6535a1ceb5121cf83f4d6c9a8d9c5317f9 (diff)
Remap telescope grep and add file browser
-rw-r--r--lua/config/whichkey.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/config/whichkey.lua b/lua/config/whichkey.lua
index a1db1c3..143ed61 100644
--- a/lua/config/whichkey.lua
+++ b/lua/config/whichkey.lua
@@ -92,7 +92,8 @@ local mappings = {
"<cmd>lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})<cr>",
"Find files",
},
- ["F"] = { "<cmd>Telescope live_grep theme=ivy<cr>", "Find Text" },
+ ["F"] = { "<cmd>Telescope file_browser<cr>", "Browse files" },
+ ["t"] = { "<cmd>Telescope live_grep theme=ivy<cr>", "Find Text" },
["P"] = { "<cmd>Telescope projects<cr>", "Projects" },
["z"] = { "<cmd>ZenMode<cr>", "Zen Mode" },
["v"] = { "<cmd>vsplit<cr>", "Vertical Split" },