aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorame <[email protected]>2025-08-28 00:12:57 -0500
committerame <[email protected]>2025-08-28 00:12:57 -0500
commitafff4d9d3d2c1ee259c4a1d03c2bf2da193a3794 (patch)
tree1258a916e9d1bdb2792d37119b8031b5ac6ab4a7
parente59231627c06b147d153774e772db299dcf0aee5 (diff)
toggle oil
-rw-r--r--fnl/plugins/which_key.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/plugins/which_key.fnl b/fnl/plugins/which_key.fnl
index 50db6b0..3697f7d 100644
--- a/fnl/plugins/which_key.fnl
+++ b/fnl/plugins/which_key.fnl
@@ -19,7 +19,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>Oil --float<CR> toggle" "open file")
+ (wmap :z "<cmd>lua require('oil').toggle_float()<CR>" "open file")
(wmap :b "<cmd>JABSOpen<CR>" "buffers")
(wmap :g (fn []
(local buffer (vim.fn.expand :%))