Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CmdOrCtrl+Shift+W shortcut to close log file #673

Merged
merged 4 commits into from
Dec 12, 2022

Conversation

ianleeder
Copy link

I'm often switching between mutliple log files, and wanted a more convenient way to do so. That's the original reason I downloaded the source code!

Many apps accept Ctrl-W to close the current document. That's already in use to close the window, so I added Ctrl-Shift-W.

@ianleeder
Copy link
Author

Also, this is just a poor-man's workaround. What I really wanted was to simply drag-n-drop over an existing log, and open a new file. But I'm not familiar enough with Angular or the dropzone library, and this was a quicker fix.

@warrenbuckley
Copy link
Owner

Code change looks fine to add this new keyboard shortcut
Thanks @ianleeder

@warrenbuckley warrenbuckley added the enhancement New feature or request label Dec 8, 2022
@warrenbuckley
Copy link
Owner

Looks good to me, thanks @ianleeder

@warrenbuckley warrenbuckley merged commit 263128d into warrenbuckley:dev Dec 12, 2022
@ianleeder ianleeder deleted the close-file-shortcut branch December 13, 2022 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants