Vim Colorido no Debian 5

Para instalar o vim e seus add-ons, faça o comando.

apt-get install vim vim-doc ctags vim-scripts
apt-get install vim-full

Após a instalação:

vim /etc/vim/vimrc

Procure pela linha:

” Vim5 and later versions support syntax highlighting. Uncommenting the next
” line enables syntax highlighting by default.
“syntax on

Descomente a terceira linha:

syntax on

———————– PARA FREEBSD ————————-
pkg_add -rv vim

criar um arquivo dentro do home do usuário (ee ~/.vimrc) contendo:

set nocompatible
syntax on
color ron
filetype on
filetype indent on
filetype plugin on
set laststatus=2
set statusline=%<%f\%h%m%r%=%-20.(line=%l\ \ col=%c%V\ \ totlin=%L%)\ \ \%h%m%r%=%-40(bytval=0x%B,%n%Y%)\%P Salvar e desfrutar!

Deixe um comentário