diff --git a/docs/configuration/keymap.toml.md b/docs/configuration/keymap.toml.md index 55aba2e62..807dd3577 100644 --- a/docs/configuration/keymap.toml.md +++ b/docs/configuration/keymap.toml.md @@ -293,6 +293,7 @@ All methods (except `reverse`) support the `--reverse` flag: - `gio trash` - `trash-put`: https://github.com/andreafrancia/trash-cli - `trash` + - `gtrash put` ### `rename`: rename the current file the cursor is on diff --git a/src/io/io_worker.rs b/src/io/io_worker.rs index 189e9fcfe..88dae960a 100644 --- a/src/io/io_worker.rs +++ b/src/io/io_worker.rs @@ -366,6 +366,7 @@ where ("gio trash", format!("gio trash -- '{}'", file_path_str)), ("trash-put", format!("trash-put '{}'", file_path_str)), ("trash", format!("trash '{}'", file_path_str)), + ("gtrash put", format!("gtrash put -- '{}'", file_path_str)), ]; for (_, cmd) in clipboards.iter() {