summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/telescope.lua
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2022-11-08 13:06:08 -0500
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2022-11-08 13:06:08 -0500
commit946b25db1aa005bf072c3c468cb0641cf2fac45d (patch)
tree1afe414f65b2ff978cf3227ee424c21835158672 /dot_config/nvim/lua/plugins/telescope.lua
parentgit: update config (diff)
nvim: init bootstrappable config
Diffstat (limited to 'dot_config/nvim/lua/plugins/telescope.lua')
-rw-r--r--dot_config/nvim/lua/plugins/telescope.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/plugins/telescope.lua b/dot_config/nvim/lua/plugins/telescope.lua
new file mode 100644
index 0000000..219e80b
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/telescope.lua
@@ -0,0 +1,22 @@
+local ts = require 'telescope'
+
+ts.setup {
+ -- pickers = {},
+ -- extensions = {},
+}
+
+ts.load_extension 'fzf'
+
+local tb = require 'telescope.builtin'
+local wk = require 'which-key'
+wk.register {
+ ['<leader>f'] = {
+ name = '+find',
+ f = { tb.find_files, 'Find File' },
+ g = { tb.live_grep, 'Live Grep' },
+ b = { tb.buffers, 'Find Buffer' },
+ h = { tb.help_tags, 'Find Help' },
+ c = { tb.commands, 'Find Command' },
+ t = { tb.treesitter, 'Find Treesitter' },
+ }
+}