Difference between revisions of "Vim/.vimrc"
(→Colorscheme: -> gist)
(→Vimrc: fix gists)
|Line 20:||Line 20:|
== Vimrc ==
== Vimrc ==
Revision as of 10:43, 26 May 2015
~/.vimrc covering common options.
I install this as
/etc/vimrc if possible. Individual users can use a Vim configuration file in their home directories.
To install for a single user, just save it in their home dir at
For the portability needed to work on many different systems, this does not rely on any plugins other than those built into the default installation of Vim 7.0.
It works well on all types of consoles, and depending on the TERM environment variable (and whether it has the right term capabilities) it will load 256 color support or not. Usually on a new system I just scp this right over and it works without any modifications. But it is an ongoing work in progress.
Here is a colorscheme file optimized for 256 colors. It will work if saved in
~/.vim/colors/askapachecode.vim or likewise in your runtimepath. Additionally, you could just paste it in the bottom of the above vimrc.
The code really needs to be cleaned up, but it looks awesome.
Some more examples can be found in Vim#Example_configurations.