Word jump commands
CudaText provides several word-jump commands, see them in the Command Palette by entering "go to word":
- go to word next
- go to word next + select
- go to word next, simple
- go to word next, simple + select
- go to word previous
- go to word previous + select
- go to word previous, simple
- go to word previous, simple + select
- go to word end
- go to word end + select
"Go to word next" vs "Go to word end"? "…end" first jumps to the end of the current word (right word boundary), only after that it jumps to the next word start. "…next" always jumps to the next word start.
For example, Windows 7 Notepad performs "…next" on pressing Ctrl+Right, while Sublime Text 3 performs "…end" on pressing Ctrl+Right. To configure Ctrl+Right (and Shift+Ctrl+Right) behaviour, re-assign this hotkey from one command to another - press F9 in the Command Palette dialog.
"Go to word next" vs "Go to word next, simple"? "…simple" command performs simplified jump, it treats all alpha-numerical characters and symbols (#$%^&@ etc) as one group, so it makes single jump over "test@#some!" string. "Go to word next" treats alpha-numericals and symbols as different char groups, and stops at the beginning of each group.
Plugin CudaExt provides such related commands:
- Cuda-Ext: Jump: Left into CamelCase/snake_case
- Cuda-Ext: Jump: Right into CamelCase/snake_case