diff --git a/README.md b/README.md index b0a12c2..9a7fd2a 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,8 @@ require("oil").setup({ restore_win_options = true, -- Skip the confirmation popup for simple operations skip_confirm_for_simple_edits = false, + -- Deleted files will be removed with the `trash-put` command. + delete_to_trash = false, -- 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.", diff --git a/doc/oil.txt b/doc/oil.txt index 8f22abd..3b828f0 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -43,6 +43,8 @@ OPTIONS *oil-option restore_win_options = true, -- Skip the confirmation popup for simple operations skip_confirm_for_simple_edits = false, + -- Deleted files will be removed with the `trash-put` command. + delete_to_trash = false, -- 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.",