I've been using Vim as my default terminal editor for over ten years, but I've yet to use it for my IDE. The more I use the awesome tiling window manager, the more I want to switch to tmux and Vim and keep my fingers on the keyboard.
There's certainly no shortage of standalone vimrc files and full configurations like janus and spf13-vim, but I wanted to roll my own from scratch. I know I learn better that way; plus I'll have something completely personalized.
- Everything under version control.
- Not mixed in with my other dotfiles.
- Self-contained as a plugin with a standard plugin structure.
- Keep vimrc minimal and clean: everything goes in the plugin.
- Manages both overall configuration and plugin dependencies.
- One-line install from the terminal.
- Easy updating.
- Automated and native development flow.
- Easy to share and customize.
GitHub project: rxrc/vimrc
The install process is inspired by oh-my-zsh and hosted on GitHub pages.
$ curl -L https://rc.evansosenko.com/vimrc/install.sh | sh
.vimrc is installed and contains just enough
to load the plugin which configures the rest.
" rxrc/vimrc set nocompatible " Disable powerline by default. let g:powerline_loaded = 1 filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'rxrc/vimrc' if filereadable(expand('~/.vim/bundle/vimrc/plugins.vim')) source ~/.vim/bundle/vimrc/plugins.vim endif call vundle#end() filetype plugin indent on
Vundle is used for dependency management,
although it would be simple enough to use an alternative.
All plugins are loaded from
Gulp handles the development environment. By switching to dev mode, Gulp watches for changes and automatically updates the local plugin files. Switching out of dev mode switches back to the stable plugin.
My config is pretty basic right now, but with this I have a foundation to build a vim to call my own.
If you like the sound of this and want to manage your Vim config the same way, check out the Customization section of the README.