Something I accidentally discovered is that most of the Emacs-style shortcuts will also work on OSX - you may need an alternative keyboard to access the Meta (aka Alt) key, but here are some basics using Control:
Control-e: end of the line
Control-a: beginning of the line
Control-k: 'kill' (cut) everything from the cursor up to the end of the line
Control-y: 'yank' (paste) what you just killed
Control-h: delete a character backwards
Control-d: delete a character forwards
Control-n: next line
Control-p: previous line
Control-f: forward one character
Control-b: backwards one character
There are many more. To make the most of these swap your CapsLock key with Control (can be done in the Settings -> Keyboard -> Modifier keys...).
Have fun.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Fantastic list - I didn't know a lot of these.
Something I accidentally discovered is that most of the Emacs-style shortcuts will also work on OSX - you may need an alternative keyboard to access the
Meta(akaAlt) key, but here are some basics usingControl:Control-e: end of the lineControl-a: beginning of the lineControl-k: 'kill' (cut) everything from the cursor up to the end of the lineControl-y: 'yank' (paste) what you just killedControl-h: delete a character backwardsControl-d: delete a character forwardsControl-n: next lineControl-p: previous lineControl-f: forward one characterControl-b: backwards one characterThere are many more. To make the most of these swap your CapsLock key with Control (can be done in the Settings -> Keyboard -> Modifier keys...).
Have fun.