4 ms·
The fact that I can customize VIM to suit my needs with modern methods and plugins that bring same kind of functionality found in more modern editors/developmen
by inDigiNeous 11y ago
The fact that I can customize VIM to suit my needs with modern methods and plugins that bring same kind of functionality found in more modern editors/development envs to the powerhouse that is VIM.
For example, these are some of my favorites:
https://valloric.github.io/YouCompleteMe/ https://valloric.github.io/YouCompleteMe/ - Code completion for C/C++ and other languages
https://github.com/ctrlpvim/ctrlp.vim https://github.com/ctrlpvim/ctrlp.vim - TextMate style ctrl+p fuzzy file finder
https://github.com/scrooloose/nerdtree https://github.com/scrooloose/nerdtree - Tree explorer plugin for browsing files
https://github.com/vim-airline/vim-airline https://github.com/vim-airline/vim-airline - Customizable status line for showing all kinds of useful info about currently edited file
https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive - Git wrapper that works together with airline
https://github.com/mhinz/vim-startify https://github.com/mhinz/vim-startify - Shows your most recently edited files and favorite files on the start screen
https://github.com/tpope/vim-abolish https://github.com/tpope/vim-abolish - Smart text replacement, easily replace eg. getColor, GetColor -> getTransparency, GetColor and so on
And this combined with the fact that I can do all of this from the tip of my fingers, without having to touch the mouse, with high customizable commands that go into my muscle memory, there is no substitute for VIM for me.
I've worked with Eclipse, Xcode, Visual Studio. They have some pretty nice features, like interactive debugging that are hard to replicate with Vim, but I'm more of a "print debug message" kind of guy anyway, so that doesn't bother me.
The biggest hinderance with Visual UIs is that I have to use the mouse, and that sucks. So much faster to do text selection, copying, replacement, renaming and so on straight from the keyboard, once you get used to it.
I'm still discovering active new ways to customize VIM after over 15 years of using it.
- ufmace 11y agoOne of the things that keeps me in VS (with VsVim) versus actual Vim for C# is that, for strictly typed languages, the autocomplete can't be beat. AFAIK, Vim autocomplete solutions use a relatively dumb autocomplete, while VS knows the types of everything and shows you all of the things you can access and nothing you can't, including changes that haven't actually been compiled yet. I also think that interactive debugging of any kind is much faster than printing debug messages most of the time. Even if it's just something like Ruby Pry, where you have a command line REPL while stopped on the breakpoint, it feels like a huge time saver when you can be stopped at a particular point and are free to check any variable and step whenever you want. Granted for some cases, like production web sites, there's no alternative to writing debug messages and trying to figure out what happened through them.
- whyever 11y agoYouCompleteMe (a vim plugin) uses clang to understand C++ code.
- inDigiNeous 11y agoI can definitely see the advantage in some cases of good breakpoint debugging with a nice IDE, but personally I like to see realtime what is happening while running the program and changing things around, without having to stop,break,continue and repeat this cycle which stops the flow. But each to his own. And like answered already, the YouCompleteMe uses clang to provide intelligent autocompletion for C/C++.