summaryrefslogtreecommitdiff
path: root/nvim/after/plugin/oil.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/after/plugin/oil.lua')
-rw-r--r--nvim/after/plugin/oil.lua48
1 files changed, 0 insertions, 48 deletions
diff --git a/nvim/after/plugin/oil.lua b/nvim/after/plugin/oil.lua
deleted file mode 100644
index f2a2c7d..0000000
--- a/nvim/after/plugin/oil.lua
+++ /dev/null
@@ -1,48 +0,0 @@
-require("oil").setup({
- -- Oil will take over directory buffers (e.g. `vim .` or `:e src/`)
- -- Set to false if you still want to use netrw.
- default_file_explorer = true,
- -- Id is automatically added at the beginning, and name at the end
- -- See :help oil-columns
- columns = {
- "icon",
- -- "permissions",
- -- "size",
- -- "mtime",
- },
- -- Buffer-local options to use for oil buffers
- buf_options = {
- buflisted = false,
- bufhidden = "hide",
- },
- -- Send deleted files to the trash instead of permanently deleting them (:help oil-trash)
- delete_to_trash = true,
- -- Skip the confirmation popup for simple operations
- skip_confirm_for_simple_edits = false,
- -- Selecting a new/moved/renamed file or directory will prompt you to save changes first
- prompt_save_on_select_new_entry = true,
- -- Keymaps in oil buffer. Can be any value that `vim.keymap.set` accepts OR a table of keymap
- -- options with a `callback` (e.g. { callback = function() ... end, desc = "", nowait = true })
- -- Additionally, if it is a string that matches "actions.<name>",
- -- it will use the mapping at require("oil.actions").<name>
- -- Set to `false` to remove a keymap
- -- See :help oil-actions for a list of all available actions
- 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",
- ["<C-c>"] = "actions.close",
- ["<C-l>"] = "actions.refresh",
- ["-"] = "actions.parent",
- ["_"] = "actions.open_cwd",
- ["`"] = "actions.cd",
- ["~"] = "actions.tcd",
- ["gs"] = "actions.change_sort",
- ["g."] = "actions.toggle_hidden",
- },
- -- Set to false to disable all of the above keymaps
- use_default_keymaps = true,
-})