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

Added ToggleSidebarFocus plugin #8849

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Added ToggleSidebarFocus plugin #8849

merged 1 commit into from
Dec 3, 2023

Conversation

educbraga
Copy link
Contributor

  • I'm the package's author and/or maintainer.
  • I have have read the docs
  • I have tagged a release with a semver version number.
  • My package repo has a description and a README describing what it's for and how to use it.
  • My package doesn't add context menu entries. *
  • My package doesn't add key bindings. **
  • Any commands are available via the command palette.
  • Preferences and keybindings (if any) are listed in the menu and the command palette, and open in split view.
  • If my package is a syntax it doesn't also add a color scheme. ***
  • If my package is a syntax it is named after the language it supports (without suffixes like "syntax" or "highlighting").
  • I use .gitattributes to exclude files from the package: images, test files, sublime-project/workspace.

My package is ToggleSidebarFocus
A plugin for Sublime Text that allows you to open, focus, and close the sidebar using the same keyboard shortcut.

There are no packages like it in Package Control.

@educbraga educbraga marked this pull request as draft November 14, 2023 00:47
@educbraga educbraga marked this pull request as ready for review November 14, 2023 00:52
Copy link
Collaborator

@packagecontrol-bot packagecontrol-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated testing result: SUCCESS

Repo link: Toggle Sidebar Focus

Packages added:
  - Toggle Sidebar Focus

Processing package "Toggle Sidebar Focus"
  - All checks passed

@braver
Copy link
Collaborator

braver commented Nov 30, 2023

Maybe it’s just on MacOS, but ctrl+0 already runs the focus_sidebar command, which opens the sidebar if it’s closed. I don’t understand what your package adds to what’s already built into ST?

@educbraga
Copy link
Contributor Author

Maybe it’s just on MacOS, but ctrl+0 already runs the focus_sidebar command, which opens the sidebar if it’s closed. I don’t understand what your package adds to what’s already built into ST?

Hey, @braver 👋🏻
Absolutely! On macOS, the standard process to open and focus on the sidebar in Sublime Text involves a two-step keyboard shortcut sequence (cmd + k, followed by cmd + b) and then ctrl + 0. To close the sidebar, the same cmd + k cmd + b sequence is repeated. This plugin simplifies this by allowing the user to define a single command that can both open the sidebar with focus and close it, streamlining the workflow significantly to those who use sublime with the sidebar closed.

@braver
Copy link
Collaborator

braver commented Dec 3, 2023

Makes sense 👍🏻

@braver braver merged commit 6eaa86c into wbond:master Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants