-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
Hey,
little question. The quake mode is really nice, but is there a way to automatically open the terminal/quake mode on current focused explorer folder.
For example I have focused an Explorer window in my Downloads directory and then press ctrl+alt+t (my shortcut for quake mode) it should automatically open the console in this directory.
Thanks
Originally posted by @meydominic in #8888 (comment)
I'm not sure that is possible, sorry 😕 When pressing the global hotkey, we don't get any context about the active window.......
ah shoot. okay. So, maybe we could:
- get the foreground window,
- check if it's an
explorer.exewindow, - then use the hack we're already using for the background context menu to get the path of that window.
That might work. We'd still need a setting for "when this globalSummon action is performed, open a new tab with the explorer CWD." That of course leads to "I want to globalSummon in explorer and get a new pane" or "I want to globalSummon in explorer and new a new pane and have that pane running {profile}"
This deserves it's own thread
Summary
A keyboard shortcut to open terminal app in the same path as file explorer window.
Lot of devs who use VS code or similar editors/IDEs are familiar with the shortcut `ctrl + `` to open terminal in the project's path.
Though windows have a right click shortcut for it, the keyboard shortcut is just muscle memory.
from @MG-LSJ in #17192