Advanced text navigation shortcuts/combos
I am trying to improve my navigation layer. Besides the standard arrows, Home
/End
and PgUp
/PgDown
, I am considering assigning these shortcuts to single keys under my navigation layer to save some keypresses. Some are partly inspired by vim, but because I want them to work in any text-editor, they can't rely on the editor's functionality:
Jump... | on MacOS achievable by | on Windows achievable via |
---|---|---|
left by word | Option + ← | Ctrl + ← |
right by word | Option + → | Ctrl + → |
to the beginning of a previous line | ↑, Cmd + ← | ↑, Home |
to the end of a previous line | ↑, Cmd + → | ↑, End |
to the beginning of a following line | ↓, Cmd + ← | ↓, Home |
to the end of a following line | ↓, Cmd + → | ↓, End |
to the beginning of the file | Cmd + ↑ | Ctrl + Home |
to the end of the file | Cmd + ↓ | Ctrl + End |
10 lines up | 10 × ↑ | 10 × ↑ |
10 lines down | 10 × ↓ | 10 × ↓ |
I am a programmer, so I don’t need to type record numbers of words per minute. However, I do spend a lot of time navigating around code and editing different parts of it. My motivation is to save some keypresses and decrease the likelihood that I have to reach for a mouse. Navigation layers usually keep a lot of keys unused, so I wanted to use the keyboard real-estate, although I am not sure if I am going to add all of them. Mostly because some of them can be achieved by pressing one extra modifier (e.g. jump to beginning of the file).
Do you have any experience with these, or similar advanced text navigation shortcuts? Are there any extra that you use? Have you tried any of them and stopped using them (unmapped the key and went back to the original keypress combo)?