3 ms·
Some of us do use bare-bones console vim because we're using it remotely through a terminal. Or because, god help us, Solaris still doesn't install vim by defa
by mauvehaus 14y ago
Some of us do use bare-bones console vim because we're using it remotely through a terminal. Or because, god help us, Solaris still doesn't install vim by default and we're stuck using plain old vi (at least on a customer's server, where I can't just go and install vim).
That's why I learned vi back in 2004, and while I still get tripped up when backspace doesn't work in insert mode because of some terminal setting, using hjkl has become second nature. There's a lot to be said for absolutely having to learn something.
Once I learned enough to be proficient doing simple editing, I switched to using gvim on my Windows machines, and then learned more as I found myself wondering if there was a better way to do something. Now I do virtually all of my coding in vim. The only downside of this I've found is that I'll occasionally C-w when typing in a web form and close my tab instead of deleting the last word.
I never got interested enough in emacs to learn it, but if I find myself in a situation where it's what I need to accomplish something I'll learn it. Need is a powerful motivator.
EDIT: I should also note that learning vi[m] on a computer with a Sun layout keyboard makes the idea of switching into command mode a lot more palatable. Esc is right there next to the 1, rather than somewhere in the next state.
- MatthewPhillips 14y agoIf you ever get interested in a lispy language you'll want to use emacs. You're fighting upstream trying to use vim (or anything else).
- w0utert 14y agoYes, if you're using vim through a terminal, or have to use vi on systems like Solaris, it's most definitely useful to know bare-bones vi. If you're on such a system, it's often the only thing you have besides 'ed'. Been there, done that (I found HP/UX possibly even worse than Solaris in terms of usability, unbelievable as it may sound ;-). For the vast majority of newcomers to vim, none of this matters though. They will be using gvim, MacVim or win32 vim exclusively, and probably wouldn't be very comfortable working on a Solaris or HP/UX box remotely anyway. SSH-ing between Linux or OS X boxes, or using a decent Windows terminal client, there really isn't any problem if you use the arrow keys, and if all you do is local editing on a desktop system, using the mouse to select text is a good way to start before learning all the different ways to cut/copy/paste using command mode.