diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-12-09 12:28:39 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-12-09 12:28:39 +0100 |
| commit | 74e54773a7e183b528efa1c49439031e70977f59 (patch) | |
| tree | 38fe8110467fbb761b5182add1c41a66f39c6346 /mut | |
| parent | f8ac26bdd59934eca11f90b9fe92d48df83833cb (diff) | |
add files
Diffstat (limited to 'mut')
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 5 |
1 files changed, 4 insertions, 1 deletions
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<cr>) + (map :n :_ #(oil.open_cwd.callback)) (map :v :y "<Plug>OSCYankVisual|gvy") (map :n :<leader>qf cope) (map :n :<leader>q<BS> ":cclose<cr>") @@ -47,7 +49,8 @@ (map :n "]q" ":cnext<cr>") (map :n "[x" ":lprevious<cr>") (map :n "]x" ":lnext<cr>") - (map :n :<c-p> #(fzf.file)) + (map :n :<c-p> #(fzf.files)) + (map :n :<leader>xp #(fzf.files)) (map :n "<leader>;" ":silent grep ") (map :n :<leader>xb #(fzf.buffers {:keymap {:fzf {"ctrl-a" "select-all" |
