Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add key binding for unbound commands is difficult #14778

Closed
haacked opened this issue Jun 14, 2017 · 2 comments
Closed

Add key binding for unbound commands is difficult #14778

haacked opened this issue Jun 14, 2017 · 2 comments

Comments

@haacked
Copy link

haacked commented Jun 14, 2017

Today I wanted to add a key binding for the "Toggle Soft Wrap" command. It was unclear to me how I'd do that.

I went to Settings > Keybindings but it only shows bindings for commands that are already bound.
I tried CTRL+. (CMD+, on Mac) which shows bindings for shortcuts invoked. I hoped maybe it'd show me the potential binding if I invoked the Toggle Soft Wrap menu. No luck.

So of course, I go to Google and @maxbrunsfeld answered the question here.

'atom-text-editor':
  'f10': 'editor:toggle-soft-wrap'

That's great, but I can't rely on Max having answered that question for every binding I may want to set.

Would be nice to have Keybindings show unbound commands too (perhaps in a separate tab or at the end of the list). Or have it allow you to search. Or perhaps have a way to invoke a tooltip on menu items that show you the name of the item for key binding. Many ways to address the problem.

@rsese
Copy link
Contributor

rsese commented Jun 14, 2017

Looks like we have an existing similar request here:

atom/settings-view#165

I'll go ahead and close as a dupe but let me know if I mis-understood anything @haacked 🙇

@rsese rsese closed this as completed Jun 14, 2017
@lock
Copy link

lock bot commented Apr 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants