This package is a fork of the atom-subword-navigation. Navigate between subwords in Textmate way: ctrl <- or ctrl ->. The only difference from Textmate keybindings is in the delete subword hotkey. Atom shipped with the Bracket Matcher package, which use ctrl+backspace to delete matching brackets, so I have decided to map delete subword to ctrl+shift+backspace.
Harness the power of CTRL as you battle the mighty camelCase and treacherous snake_case.
This package allows you to move the cursor(s) to beginning and end of words, but also it stops at subwords (camelCase and snake_case).
Holding shift
will highlight as you move left and right.
Along with highlight, you can delete to the previous/next subword. Command names are at the bottom of the page.
Issues and pull requests are welcome.
Mac | ||
---|---|---|
Move around | ctrl-left |
ctrl-right |
Highlight | ctrl-shift-left |
ctrl-shift-right |
Delete | ctrl-shift-backspace |
ctrl-delete |
Requires Atom v0.204 and up
'subword-navigation:move-right''subword-navigation:move-left''subword-navigation:select-right''subword-navigation:select-left''subword-navigation:delete-right''subword-navigation:delete-left'
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.