obsidian-switcher-plus
obsidian-switcher-plus copied to clipboard
Pressing hotkey twice could switch the file to the last one.
If my 'open' hotkey is CTRL-o then pressing 'CTRL-o CTRL-o' (without enter) could switch the file to the last one open.
This is similar to cd - command in Linux (switches to last directory).
This is the default behavior in VSCode (on CTRL-p) and it is useful to be consistent to reuse popular habits.
Note: pressing CTRL-o three or more time before releasing CTRL (which replaces enter) switches to the yet next file on the popup history list.
Thank for the feature request! Currently there are several other options for navigation, using the arrow keys, ctrl-n/p, and ctrl-j/k.
Can you explain how ctrl-n/p, and ctrl-j/k are related?
Sure, if I understand your request, you'd like to be able to navigate the recent files list using a key chord that consists solely of the initial trigger hotkey. So in your example ctrl-o to trigger the list then o/shift-o to navigate next/previous and select on release.
Today, when you trigger Quick Switcher++: Open in Headings Mode with a hotkey, it initially displays the recent files list, which next/previous can be navigated with arrowkeys, ctrl-n/p, as well as ctrl-j/k, with enter to select. So this request is for a fourth set of navigation/selection keys for recent files. Please let me know if I've misunderstood the request. Thanks!
Currently to select second last recent file:
- press shift
- press O
- release O
- release shift
- press arrow down
- press enter
In the proposal to select second last recent file:
- Press shift
- press O
- press O
- Release shift
Which is a default in vscode and sublime text I think and very alluring when you start using it quickly.
So yes, I think you got it :)