blob: 5e41b08658e4d9b69d8958159f89fd9f6439f46f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 :lazy false}
|