Use my .vimrc

Leah Rowe

Return to index

Vim is a powerful text editor. It is highly extensible via plugin architecture, has powerful search/replace and other text processing features, and it can easily integrate with many other tools (e.g. mail clients or wiki/todo lists/event scheduling/calendar/etc). The default Vim configuration is quite limited, intentionally, so that anybody can extend it for their own purpose.

Why use my setup?

My setup makes many improvements:

Here are some screenshots (click for full size):

How to use

Download my vimrc file - save it as ~/.vimrc and follow these instructions:

Ubuntu/Debian based distros

sudo apt-get install vim-gtk git

Install dependencies:

sudo apt-get install ctags

mkdir -p ~/.vim/{backups,bundle,tags,undo}

git clone ~/.vim/bundle/Vundle.vim

cd ~/.vim/bundle/Vundle.vim/

git reset --hard 50cd52f2ad34096dac77b0fc673031c0d367d357

cd -

sudo apt-get install ctags

vim +PluginInstall +qall

NOTE: Vim might complain on startup. Just edit .vimrc and remove some stuff as required if that happens.

Luna-term error

If vim complains about luna-term, do this:

Download the luna distribution (as zip archive, see github)

Move colours/luna.vim to .vim/colors directory in your home directory.

Move colours/luna-term.vim to your .vim/colors directory aswell.

Version used for above:

Installing powerline font for Vim powerline

NOTE: tested on Debian, Ubuntu and Trisquel



mkdir -p ~/.fonts/ && mv PowerlineSymbols.otf ~/.fonts/

fc-cache -vf ~/.fonts

mkdir -p ~/.config/fontconfig/conf.d/ && mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

You’re all done!

Hopefully, you should now be editing text with great efficiency. Now refer to guides online and tutorials on video websites (such as YouTube) to learn Vim.

Markdown file for this page:

This HTML page was generated by the untitled static site generator.