5 ms·
Do you have better designs? If you're using Emacs-style editing, you want Ctrl shortcuts. If you're using vi-style modal editing, you want single keys to move a
by zck 9y ago
Do you have better designs? If you're using Emacs-style editing, you want Ctrl shortcuts. If you're using vi-style modal editing, you want single keys to move around. What would you recommend?
Note that moving your hand to the arrow keys is, while more intuitive, slower and requiring more thought than the other options presented (once these options are learned).
- kurtisc 9y agoRemapping vi's escape function to caps lock or jj/jk seems like a common example, or doing it the other way around and getting a HHKB. It doesn't have to be a wholly different style, just one that fits modern keyboards.
- falcolas 9y agoHaving used a HHKB, the arrow keys and page/home keys are aggravating to have to chord when you are in a program where you can't remap to the expected key combinations (and the chords all have to be done with just the right hand, unless you want to give up your CMD/Windows key). The swap of del and '\' is annoying too, and creates problematic muscle memory that will fail you when you're forced to use a normal keyboard.
- teddyh 9y agoThe Happy Hacking Keyboard Lite2 features real separate cursor keys: http://www.pfu.fujitsu.com/hhkeyboard/leaflet/hairetu.html#lite2 http://www.pfu.fujitsu.com/hhkeyboard/leaflet/hairetu.html#l...
- atemerev 9y agoMac default keymap looks intuitive enough for me. Opt+arrows for skipping words, Cmd+arrows for sentences. Beats absolutely arbitrary Ctrl-A/Ctrl-E and ^/$ definitively. (I am a proficient touch typist, but I can't adapt to hjkl in lieu of arrow keys — not to mention the context shifting overhead for two vim modes).
- vlunkr 9y agoIs holding down one or more modifiers and pressing a key not a similar context switch? Typing 'v' enters a 'v' character, cmd/ctrl-v pastes from the clipboard. There's no logical connection between the two except that you've probably had that one memorized for decades. The difference in vim is that you don't use modifiers when you're in normal mode (usually). Side note: TWO vim modes? I guess you're never had the pleasure of stumbling into ex mode
- atemerev 9y agoTwo primary modes, you pedantic you. Control keys are relegated to the edges of the keyboard and easily remembered and distinguished by touch, as there are only few of them. Cmd+X, Cmd+C and Cmd+V is much more convenient, memorizable and logical (X and V visually look like editing marks on paper, for cutting and inserting respectfully; C is for Copy), than... how do you copy-paste again in vim? v/y? I see no logic there. Yes, I remember that v is for "visual selection", and y is for "yank", whatever it is... but it is way less logical.
- vlunkr 9y ago*you pedant you
- hxegon 9y agoJust because you don't understand/like something doesn't make it illogical.
- ursus_bonum 9y agoThis just in: "P" ruled totally illogical for "paste" "V" remains totally logical though of course
- kps 9y agoYes, two modes: line and visual. The stuff between certain visual commands and ESC isn't a mode, it's a command argument.