Keyboard shortcut for parent directory (go "up" in url)
-
Provide a keyboard shortcut for parent directory (go "up" in url). It might be assigned to
Alt + Up Arrow
orCtrl + Backspace
by default.There was a thread with this feature request with 21 upvotes, it seems to be deleted. This was the URL: https://forum.vivaldi.net/topic/24732/shortcut-for-parent-directory-go-up-in-url It seems that OP's account was deleted; apparently this means vivaldi.net deletes the whole thread and everybody's posts when that happens? Bizarre. I guess I should backup my messages to the forum; it didn't occur to me that they can be deleted without me deleting them.
Anyway, I found it via search engine cache, apparently bug number was VB-30847.
-
My messages, copied from the cache:
If this feature ever gets implemented, I would like to suggest Alt + Up Arrow as the default shortcut. It is the standard shortcut for parent directory in file managers (e.g. Windows File Explorer, FileZilla, WinSCP). It also provides more reliable behavior: Ctrl + Backspace would just delete the last word if the focus is on the address bar (or another text field), Alt + Up Arrow would work from anywhere. Or, they can be both added as default, just like History Back has both Backspace and Alt + Left Arrow.
Of course it doesn't matter much as shortcuts can be edited, but it is nice to have good default shortcuts.
-
@ROTFL said in Shortcut for Parent Directory (go "up" in url):
Usage example:
- Address bar content: https://forum.vivaldi.net/category/127/address-bar
pressing something
- Address bar content: https://forum.vivaldi.net/category/127/
pressing something
- Address bar content: https://forum.vivaldi.net/category/
pressing something
- Address bar content: https://forum.vivaldi.net/
pressing something
- Address bar content: https://forum.vivaldi.net/
Two things with your example: First, I think, after the last shortcut press, a better behavior would be going to https://vivaldi.net/, rather than doing nothing. Pressing the shortcut can successively strip each subdomain up until the base domain (eTLD+1). For example, this is how the NavigUp extension works:
Navigate to parent address. It means removing page anchor (#xxx), query string (?xxx), file or the last directory (/xxx), port number (:xxx), sub-domain (xxx.) or secure layer (https -> http), whichever is first found (preserving mentioned order).
(The extension is last updated in 2013, I don't think removing the secure layer is necessary in 2020; but otherwise the order of removal looks reasonable.)
Your example highlights another issue: after the first shortcut press, the address should be https://forum.vivaldi.net/category/127/, but this is actually equivalent to https://forum.vivaldi.net/category/127/address-bar, so it gets converted back to that immediately after the shortcut press. So rather than being able to go to upper directories, you get stuck at the current page, even with successive immediate shortcut presses. (The same is true on this very page.) With the aforementioned extension I don't have this problem:
Go to parent address. Use Alt+Up (Shift = +1, Ctrl = +2 levels) or click the icon (many times = many levels).
...
You can use the mouse and click NavigUp's icon (present on the right side of the address bar) or go with the keyboard and press one of the supported shortcuts.
== Shortcuts ==
Use (Ctrl+)(Shift+)Alt+Up for it. Shift means going up one more level, Ctrl - additional two levels. Ctrl and Shift can be combined. If you click extension's icon (in the address bar) many times within one third of second, then you'll go up many levels at once.
But I am not sure Vivaldi would add multiple level up shortcuts similarly. After all, History Back has a similar issue and we don't have a twice back shortcut. Maybe an implementation that treats two immediate successive shortcut presses as directly two levels up (rather than a level up, and then a level up to that) could solve the issue, but again, this wasn't done with History Back; often the previous page immediately redirects to the current one, so I am stuck on the current page with keyboard shortcut and have to right click the back button to be able to go the previous page.
-
hello
I remember upvoting an uppity button feature request ... ...
how about location bar, highlight, go to url, feature ... ..
(never getting uppity button ... .)(.)
highlight, backspace / delete, enter. browsing browsering. -
The reason I now noticed this request thread was deleted was that I wanted to mention another thing: If this is implemented, I would appreciate it if it also worked on file:// URLs. I would have taken it as a given and not mention it, but I noticed that the mouse equivalent of this command (Ctrl+click on the address bar) doesn't work on file:// URLs. I don't use mouse so I don't care about its absence there, but I hope that it works on the keyboard shortcut version if or when this gets implemented.
-
@debiedowner Meanwhile, you can navigate local file URLs with the following shortcut sequence:
- F8 to focus the URL
- End to move the cursor to the end
- Ctrl+Left a few times to select the unwanted part
- Delete
- Enter
-
@Pesala The extension I mentioned (NavigUp) has another version (not on Chrome Webstore, needs to be sideloaded) that works on file:// URLs, and that's what I use anyway, so I haven't been needing to use delete-word-by-word method on either local and web URLs. I browse local directories on Vivaldi very rarely anyway, shortcut to navigate up on web URLs would be mostly enough, though it also working on local directories would be nice, hence I wanted to mention it.
So my reason for upvoting request was eliminating the need to use yet another extension for a tiny functionality.
-
This is now implemented in snapshot 2406.4. I would like to see it refined further like I mentioned here, but I am happy that it's coming!
-
Jjane.n moved this topic from Desktop Feature Requests on