diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-05 01:50:20 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-05 01:50:20 +0100 |
commit | 2a94573f54c69a9af7536586ab2c03eb88bda5e7 (patch) | |
tree | 48e430773d56baef8c751fb8a6b4d76303b61636 /fnl/plugins/oil.fnl | |
parent | 16198ca3bcd0ddd61f8d18280769c6f226b2b7ce (diff) |
Refactor
Diffstat (limited to 'fnl/plugins/oil.fnl')
-rw-r--r-- | fnl/plugins/oil.fnl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fnl/plugins/oil.fnl b/fnl/plugins/oil.fnl new file mode 100644 index 0000000..fac1532 --- /dev/null +++ b/fnl/plugins/oil.fnl @@ -0,0 +1,25 @@ +;; File explorer that lets you edit your filesystem. + +(local opts {:keymaps {:g? :actions.show_help + :<CR> :actions.select + :<C-s> :actions.select_vsplit + :<C-h> :actions.select_split + :<C-t> :actions.select_tab + :<C-p> :actions.preview + :q :actions.close + :<C-l> :actions.refresh + :- :actions.parent + :_ :actions.open_cwd + "`" :actions.cd + "~" :actions.tcd + :gs :actions.change_sort + :gx :actions.open_external + :g. :actions.toggle_hidden + "g\\\\" :actions.toggle_trash} + :float {:padding 1 :max_width 64 :max_height 32}}) + +(local keys [{1 "-" + 2 "<cmd>lua require(\"oil\").open_float()<cr>" + :desc "Open parent directory"}]) + +{1 :stevearc/oil.nvim : opts : keys} |