You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add a new hotkey to handle cd-on-quit whenever needed (#924)
Resolves#923
This PR introduces a new hotkey defaulted to "shift+q" (cd_quit = ['Q'])
to change directory upon quitting superfile.
I tried to add the new hotkey without affecting the cd-on-quit
configuration, so it stays relevant for anyone that wants to always
change directory when quitting.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added a global hotkey “Cd Quit” (Q) to quit and change directory to
the current folder. Available in default and Vim keymaps and
configurable in hotkeys settings.
* **Documentation**
* Updated hotkey list with “Cd Quit,” including a note about required
scripts.
* Added “Cd Quit” entry to the in-app help menu.
* **Tests**
* Added test ensuring “Cd Quit” writes the expected change-directory
command on exit.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Confirm []string`toml:"confirm" comment:"=================================================================================================\nGlobal hotkeys (cannot conflict with other hotkeys)"`
0 commit comments