Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ > cat .vimrc
- set nocompatible " We're running Vim, not Vi!
- syntax on " Enable syntax highlighting
- filetype on " Enable filetype detection
- filetype indent on " Enable filetype-specific indenting
- filetype plugin on " Enable filetype-specific plugins
- " set t_Co=256
- colorscheme darkblue
- set autoindent
- set backup
- set backupdir=~/tmp
- set dir=~/tmp
- set expandtab
- set hlsearch
- set ignorecase
- set incsearch
- set nohlsearch
- set nostartofline
- set novisualbell
- set nowrap
- set number
- set ruler
- set shiftwidth=2
- set showmatch
- set showmode
- set smartcase
- set smartindent
- set smarttab
- set softtabstop=2
- set tabstop=2
- set vb t_vb=
- au BufNewFile,BufRead *.rb,capfile,Capfile setf ruby
- " Puppet standard 2 spaces, always
- au BufRead,BufNewFile *.pp,*.rb set shiftwidth=2
- au BufRead,BufNewFile *.pp,*.rb set softtabstop=2
- " Puppet syntax!
- au BufRead,BufNewFile *.pp set filetype=puppet
- au BufRead,BufNewFile * set shiftwidth=2
- au BufRead,BufNewFile * set softtabstop=2
- " Remove trailing whitespaces automaticly on save.
- autocmd BufWritePre * :%s/\s\+$//e
- highlight NobreakSpace ctermbg=red guibg=red
- match NobreakSpace / /
Add Comment
Please, Sign In to add comment