feat: support custom trash commands (#110)
This commit is contained in:
parent
d27bfa1f37
commit
f535c1057c
4 changed files with 26 additions and 12 deletions
|
|
@ -44,8 +44,10 @@ 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.
|
||||
-- Deleted files will be removed with the trash_command (below).
|
||||
delete_to_trash = false,
|
||||
-- Change this to customize the command used when deleting to trash
|
||||
trash_command = "trash-put",
|
||||
-- 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue