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

toggleBold when editorHasSelection #1262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shanehh
Copy link

@shanehh shanehh commented Apr 13, 2023

There's a conflict between the shortcut key cmd+b for toggleBold and View: Toggle Primary Side Bar Visibility, I found that addingeditorHasSelection can workaround and improve the UX.

@yzhang-gh
Copy link
Owner

Thanks for your interest.

However, it is by design that you can use toggleBold even if there is no selection (it will select the word under the cursor).

@yzhang-gh yzhang-gh added the Area: Input Related to editor input processing (key presses, key bindings). label Apr 13, 2023
Copy link

@mavaddat mavaddat left a comment

Choose a reason for hiding this comment

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

Excellent idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Input Related to editor input processing (key presses, key bindings).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants