2 ms·
I have been using vim as an advanced beginner off and on for more than 15 years I think. I use it lots of times (not for everything, I also use Visual Studio C
by ilaksh 6y ago
I have been using vim as an advanced beginner off and on for more than 15 years I think.
I use it lots of times (not for everything, I also use Visual Studio Code), mainly because it means that I can just ssh over to a VPS and edit a file in there, without having to set up fuse or some other way to edit locally. It seems like less work to just get into files and set up a new VPS. And I know there will be syntax highlighting for everything.
And also I have kind of a sunk cost of finally learning how to do basic things over the course of many years.
But personally, I think that it is embarrassing for people who seriously espouse that modal editing is better than more modern concepts.
The reason we have hjkl for movement is because that is what the terminal was like when vi was invented. And the reason its Escape which is a little inconvenient on modern keyboards is because the Escape key on that terminal was more like where Tab is. And the reason its modal editing is because "real time editing" didn't even generally exist when vi was invented:
"Back in 1970s, terminal screen are 80 columns by 24 lines. There's no real-time editing. You edit by typing a command, then call another command to have the screen update to show the result of your command. Vi's “modal editing” is evolved from this." http://xahlee.info/kbd/keyboard_hardware_and_key_choices.html http://xahlee.info/kbd/keyboard_hardware_and_key_choices.htm...