3 ms·
I’m not referring to some definite standard, but to the conventions that have existed in most desktop apps, at least on Windows and Linux, ever since I first us
by Narushia 3y ago
I’m not referring to some definite standard, but to the conventions that have existed in most desktop apps, at least on Windows and Linux, ever since I first used a computer. Wikipedia has a good list of them.[1]
The list also shows Emacs and Vim for comparison, so it’s easy to see the deviation from the Windows/Linux conventions.
When it comes to text editing specifically, at least these ones are deeply inscribed in my muscle memory, and I use them every day in a variety of applications:
– Ctrl+C: copy selection to clipboard
– Ctrl+V: paste from clipboard
– Ctrl+X: cut selection to clipboard
– Ctrl+Z: undo previous operation
– Ctrl+Y: redo previous operation
– Ctrl+A: select all
– Ctrl+F: find
– Del: delete char to the right of cursor
– Ctrl+Del: delete word to the right of cursor
– Ctrl+Backspace: delete word to the left of cursor
– Home: go to start of line
– End: go to end of line
– Ctrl+Home: go to start of document
– Ctrl+End: go to end of document
– Ctrl+Left: go to previous word
– Ctrl+Right: go to next word
(And the Shift variations for selecting text regions, like Ctrl+Shift+Right for selecting the word right of the cursor.)
I’m definitely not the fastest typer, but I feel these make my text editing a snappy process.
Additionally, while not related to the editing itself, I appreciate these ones:
– Ctrl+S: save document
– Ctrl+Q: quit document
[1]: https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
- PhasmaFelis 3y agoFor the record, MacOS substitutes the Command key for Ctrl, but otherwise most of these are the same there, too.
- lenkite 3y agoUmm..on macOS, ctrl-X appears to remove the whole line and Cmd-X doesn't even work. So, it does not consistently implement these shortcuts honouring the OS conventions.