From 74e54773a7e183b528efa1c49439031e70977f59 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sat, 9 Dec 2023 12:28:39 +0100 Subject: add files --- mut/neovim/fnl/conf/init.fnl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 81e1ca3..2c0adfb 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -21,8 +21,10 @@ (fzf.setup [:max-perf]) (local cope #(vim.cmd (.. ":copen " (math.floor (/ vim.o.lines 2.1))))) +(local oil (require :oil.actions)) (let [map vim.keymap.set] (map :n :- ::Oil) + (map :n :_ #(oil.open_cwd.callback)) (map :v :y "OSCYankVisual|gvy") (map :n :qf cope) (map :n :q ":cclose") @@ -47,7 +49,8 @@ (map :n "]q" ":cnext") (map :n "[x" ":lprevious") (map :n "]x" ":lnext") - (map :n : #(fzf.file)) + (map :n : #(fzf.files)) + (map :n :xp #(fzf.files)) (map :n ";" ":silent grep ") (map :n :xb #(fzf.buffers {:keymap {:fzf {"ctrl-a" "select-all" -- cgit v1.2.3