Use Sublime Text word/subword movement with alt/ctrl#4075
Use Sublime Text word/subword movement with alt/ctrl#4075dayorbyte wants to merge 1 commit intocodemirror:masterfrom dayorbyte:subword-movement
Conversation
|
You once again changed the behavior in a way that breaks the default linux bindings. I'm going to hold off merging/fixing this until someone can point me at defining information about per-platform bindings for ST. Unfortunately, and bafflingly, no such thing seems to exist online (at least in the first page of google results) |
|
I'll see what I can find. Worst case I might be able to bring VMs up to check manually since the changes aren't that complicated. |
|
They are probably also in some JSON file in the ST distribution tarballs. |
|
windows: https://gist.github.com/jeffjenkins/092d5df2baf5c7e384bca23061b6a96f ctrl+alt+{up,down} linux: https://gist.github.com/jeffjenkins/5c53c90c897d3796f9a150abc42c01a2 alt+shift+{up,down} osx: https://gist.github.com/jeffjenkins/1900171a7801432d6a91903f5497abab ctrl+shift+{up,down} I had (naively, it seems) assumed that linux and windows would be the same. I can make a fix for this, but I need to know two things:
|
|
The main library is recognizing windows with I do prefer to get a single patch (use amend or rebase), but if you're having trouble I can also do the squashing myself. |
|
Great, thanks! I'll get this together and update later in the week |
The only per-word movement in the existing sublime controls is sub-word, but it uses the full word keyboard shortcuts. This PR switches the alt shortcut to be full word and adds ctrl as subword to sync up with Sublime's defaults