Reputation: 1444
I want to select the text from current position to end of the line with keyboard shortcuts in phpstorm (mac OS). What is the shortcut?
Also I want to select the text from current position to next word with keyboard shortcuts in phpstorm (mac OS). What is the shortcut?
I checked the reference guide in here, but I could not find these shortcuts: https://www.jetbrains.com/phpstorm/documentation/PhpStorm_ReferenceCard.pdf
Upvotes: 0
Views: 3313
Reputation: 1204
Use Shift+End to select a line to the end if the cursor is in the beginning of the line.
Similarly, Use Shift+Home to select a line to the beginning if the cursor is in the end of the line.
Upvotes: 1
Reputation: 159
These are not specific to phpStorm, but are system wide on MacOS X
End of line: cmd+shift+left-arrow
option+shift+left-arrow selects to end of a word, press again for next word.
Upvotes: 1