4 ms·
i can't imagine not programming in Vim. it's so natural. using a normal text editor (including professional IDE's) feels like trudging through quagmire by co
by tokipin 19y ago
i can't imagine not programming in Vim. it's so natural. using a normal text editor (including professional IDE's) feels like trudging through quagmire by comparison
a mistake learners of Vi make is being in insert mode most of the time. you should be in command mode almost always. like 94% of the time. otherwise it's no different than a normal text editor with hotkeys. also, newbies need to make use the repeat command '.' which repeats the whole last text _change_. it's not just a paste
once you get some good experience and try to stay out of insert mode, your cursor starts flying around performing all sorts of uber hacker slice & dice magic
- abstractbill 19y agoI feel the same way about emacs. A few nights back I was editing my wife's website - making quite a lot of use of keyboard macros, regex search-and-replace, and that kind of thing. She's only ever used MS-Word so she was continuously asking me "how do you do that?"
- yters 19y agoI wish the emacs macro system was easily Turing complete, but that must open a can of worms or something. I like the notion of writing a program as I do an action, but the macros don't really have control structures built in.
- tx 19y agoAfter years of Visual Studio I forced myself to learn vim and it wasn't so hard. By "learned" I mean crossing a line where my productivity is on par or better than Visual Studio used to be. Emacs, however, is nowhere as easy. I am trying to repeat my vim experience by forcing myself to use emacs (part of my CL adventure) and I feel like I need a third hand to hold Ctrl or Alt all the time... Even vim-style navigation without arrows calls for constantly pressed Ctrl. Not trying to start a war, just sharing my experience. After all it was other peoples "vim tales" that inspired me in the first place.
- jamongkad 19y agoHell yeah! I'm just recently learning Vim and I wondered what was I thinking back then when I was using normal text editors. I especially love the :sp command as it allows me to open multiple windows of my code within the same screen. And oh yes the '.' command is the best. I'm still currently getting the hang of it though.