Open files with middle click
* Directories open in new tab * All others open the file
This commit is contained in:
parent
36bcf81bc6
commit
0971f6f20f
3 changed files with 40 additions and 1 deletions
|
|
@ -1737,6 +1737,9 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
}
|
||||
tab::Command::OpenInNewTab(path) => {
|
||||
commands.push(self.open_tab(Location::Path(path.clone())));
|
||||
}
|
||||
tab::Command::Scroll(id, offset) => {
|
||||
commands.push(scrollable::scroll_to(id, offset));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue