add option to copy path when pressing down shift
This commit is contained in:
parent
f1a8e4ea19
commit
4e77e398f2
4 changed files with 22 additions and 2 deletions
|
|
@ -67,6 +67,7 @@ pub fn key_binds(mode: &tab::Mode) -> HashMap<KeyBind, Action> {
|
|||
// App and desktop only keys
|
||||
if matches!(mode, tab::Mode::App | tab::Mode::Desktop) {
|
||||
bind!([Ctrl], Key::Character("c".into()), Copy);
|
||||
bind!([Ctrl, Shift], Key::Character("c".into()), CopyPath);
|
||||
bind!([Ctrl], Key::Character("x".into()), Cut);
|
||||
bind!([], Key::Named(Named::Delete), Delete);
|
||||
bind!([Shift], Key::Named(Named::Delete), PermanentlyDelete);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue