aboutsummaryrefslogtreecommitdiff
path: root/fnl/plugins/which_key.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/which_key.fnl')
-rw-r--r--fnl/plugins/which_key.fnl7
1 files changed, 3 insertions, 4 deletions
diff --git a/fnl/plugins/which_key.fnl b/fnl/plugins/which_key.fnl
index e3279db..16b10a1 100644
--- a/fnl/plugins/which_key.fnl
+++ b/fnl/plugins/which_key.fnl
@@ -13,6 +13,7 @@
(wmap :t "<cmd>ToggleTerm direction=horizontal<CR>" "hterm")
(wmap :d "<cmd>Glance references<CR>" "references")
(wmap :s "<cmd>Telescope live_grep<CR>" "search")
+ (wmap :z "<cmd>Telescope find_files<CR>" "open file")
(wmap :b "<cmd>JABSOpen<CR>" "buffers")
(wmap :g (fn []
(local buffer (vim.fn.expand :%))
@@ -27,10 +28,8 @@
;;layouts
(gmap :l "layout")
- (wmap :li (fn []
- (vim.cmd "ToggleTerm direction=horizontal")
- (vim.cmd "Neotree toggle")
- (vim.cmd "Outline")) "ide")
+ (wmap :li (require :layouts.ide) "ide")
+ (wmap :lq (require :layouts.quiet) "quiet")
;;visual
(gmap :v "visual")