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

Emmet keybind with Atom Windows build #109

Closed
j-mes opened this Issue Jul 11, 2014 · 5 comments

Comments

Projects
None yet
5 participants
@j-mes

j-mes commented Jul 11, 2014

This is an issue at the start but I found that I solved this by adding a keymap entry to my own keymap.cson config with the following:

# Emmet in Windows
'.editor:not(.mini)':
  'shift-ctrl-E': 'emmet:expand-abbreviation'

Instead of shift-cmd-e which is the default keybinding for this action.

@j-mes j-mes changed the title from Emmet with Atom Windows build to Emmet keybind with Atom Windows build Jul 11, 2014

@kozie

This comment has been minimized.

kozie commented Jul 14, 2014

Same goes for ctrl-left and ctrl-right. I can't select words anymore because of this.

My guess is that there are probably more keys that should be rebound for Windows.

@MichaelCereda

This comment has been minimized.

MichaelCereda commented Jul 18, 2014

to override some of emmet's keybindings just paste this code in your keymap.cson file

'.workspace .editor':
  'shift-f11': 'zen:toggle'
  "ctrl-left": "editor:move-to-beginning-of-word",
  "ctrl-right": "editor:move-to-end-of-word",
  "ctrl-shift-left": "editor:select-to-beginning-of-word",
  "ctrl-shift-right": "editor:select-to-end-of-word",
  "ctrl-backspace": "editor:delete-to-beginning-of-word",
  "ctrl-delete": "editor:delete-to-end-of-word",
  "ctrl-home": "core:move-to-top",
  "ctrl-end": "core:move-to-bottom",
  "ctrl-a": "core:select-all",
  "ctrl-alt-shift-p": "editor:log-cursor-scope",
  "ctrl-k ctrl-u": "editor:upper-case",
  "ctrl-k ctrl-l": "editor:lower-case"
@vorou

This comment has been minimized.

vorou commented Jul 22, 2014

it's just a disaster, it steals all the essential shortcuts, and there is no quick way to get them back.
@MichaelCereda big thanks!

@MichaelCereda

This comment has been minimized.

MichaelCereda commented Jul 22, 2014

Yes, emmet should be less invasive and use the command palette for advanced functions.

@sergeche

This comment has been minimized.

Member

sergeche commented Jul 22, 2014

Duplicate of #86
Also see my comment about it.

@sergeche sergeche closed this Jul 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment