Tags

vim /etc/vim/vimrc

syntax on                  " Enable syntax highlighting
set background=dark        " Optimize color schemes for a dark background
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endiffiletype plugin indent on  " Enable filetype detection and associated indentation
set ignorecase             " Search case-insensitively
set smartcase              " Search case-sensitively if there's a capital letter

vim /etc/vim/vimrc.local

set tabstop=4              " Set the width of a tab character to 4 spaces
set shiftwidth=4           " Set the width of an indent to 4 spaces
set softtabstop=4          " Make tab key insert 4 spaces

set number                 " Show line numbers

" disable for rsnapshot.conf
set expandtab              " Use spaces instead of tabs for indentation