by seren · 13y ago · 0 comments
All these operations, except entering text, are available from "normal" mode which is the default mode. This is factually incorrect that you need to switch mode to delete something, or save a file.
Based on simple probability, the chance is better than 50% that I was using vi before you were born.
How is calling you young, saying you have your entire life in front of you, an ad hominem? Except possibly to suggest that you have a quota of mistakes you need to go through before you become more efficient at avoiding them?
If you, like most people, spend most of your time entering text, then it is factually correct that you must exit the text-entry mode to do anything else.
And do you know why this arrangement exists? Because there were teletype terminals and early glass terminals that didn't have control keys. No control keys, no way to exploit their existence. SO there had to be a magic character to switch from text entry to control mode. And the magic character was an ordinary character, sometimes used for text entry, sometimes interpreted as a command prefix.
Keyboards have changed, but vi hasn't. Computers have mice and touch-sensitive displays, but vi can't exploit them. Operating systems have clipboards, but vi can't take advantage of that convention. You know -- don't get me started.
The reason most vim users stick with the keyboard is because using a short key combination to select and manipulate text is measurably faster than moving your hand off the keyboard, manipulating a mouse or touchscreen, and then moving it back to continue typing.
What you see as vim appearing to exploit a mouse and system clipboard is actually Bash and (sometimes) a command-line app (example Konsole) doing so, or equivalent utilities outside vim in a non-GUI level. Those features work with any editor in exactly the same way.
As to using the system clipboard just fine, you can copy text from vim or any other displayed source of text, but you cannot paste it, because it's not vim that's acting, or is in any way aware that text has been copied.
> ... because using a short key combination to select and manipulate text is measurably faster than moving your hand off the keyboard, manipulating a mouse or touchscreen, and then moving it back to continue typing.
Right -- the mouse was foisted on a gullible public willing to suffer a reduction in efficiency in order to have an electronic pet, all against their better interests. And the industry's usually diligent efficiency experts were all bribed to overlook the reduction in efficiency you've just brought to our attention.
As for integrating with the system clipboard, that clipboard lives somewhere (X11, OS-X, Windows System), it isn't magic, and vim can integrate with it in various ways dependent on the OS. On windows for example "set clipboard=unnamed" basically makes vim use the system clipboard, period.
So... not sure if you are lying or misinformed.
I'm not sure if you're just joking or you're just misinformed.
For text editing, mouse is more inefficient than keystrokes
Assertion: vim has modes.
> This is factually incorrect that you need to switch mode to delete something, or save a file.
Assertion: vim doesn't have modes.
Only one of the above claims can be true. Choose which one you want to defend, and delete the other. But don't try to delete it with vim, or we'll be here all day.
In point of fact, if I am entering text, I cannot move the cursor, search for text, save a file, load a file, or a dozen other things, without first switching modes.
I feel like I'm discussing whether there was a literal garden of Eden with a religious True Believer. True Believers famously make claims they haven't bothered to compare to reality before speaking.
Really?
> Assertion: vim doesn't have modes.
No,it is not an assertion that vim doesn't have modes, it is an assertion that you don't have to change mode to do some things
>I feel like I'm discussing whether there was a literal garden of Eden with a religious True Believer. True Believers famously make claims they haven't bothered to compare to reality before speaking.
Guess who is this True Believer