3 ms·
Is 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.
by vlunkr 9y ago
Is 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.