Feature to move up file hierarchy with Alt+Up
From: https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts#Browsers_/_Go_menu Alt+Up moves up the file hierarchy until it hits root. So, if "/home/josh" is opened, Alt+Up would move to "/home"
This commit is contained in:
parent
843997a0d8
commit
2814834251
3 changed files with 40 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ pub enum Action {
|
|||
Cut,
|
||||
HistoryNext,
|
||||
HistoryPrevious,
|
||||
LocationUp,
|
||||
MoveToTrash,
|
||||
NewFile,
|
||||
NewFolder,
|
||||
|
|
@ -71,6 +72,7 @@ impl Action {
|
|||
Action::Cut => Message::Cut(entity_opt),
|
||||
Action::HistoryNext => Message::TabMessage(None, tab::Message::GoNext),
|
||||
Action::HistoryPrevious => Message::TabMessage(None, tab::Message::GoPrevious),
|
||||
Action::LocationUp => Message::TabMessage(None, tab::Message::LocationUp),
|
||||
Action::MoveToTrash => Message::MoveToTrash(entity_opt),
|
||||
Action::NewFile => Message::NewFile(entity_opt),
|
||||
Action::NewFolder => Message::NewFolder(entity_opt),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue