Last active
August 29, 2015 13:57
-
-
Save Slabity/9542585 to your computer and use it in GitHub Desktop.
Personal Vimrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Bundle 'gmarik/vundle' | |
Bundle 'flazz/vim-colorschemes' | |
Bundle 'wincent/Command-T' | |
Bundle 'scrooloose/nerdcommenter' | |
Bundle 'scrooloose/syntastic' | |
call vundle#end() | |
filetype plugin indent on | |
syntax enable | |
set background=dark | |
colorscheme desert | |
set laststatus=2 | |
set shortmess=aoOW | |
set showcmd | |
set undolevels=1000 | |
set undoreload=-1 | |
set number | |
set cursorline | |
set showmatch | |
set matchpairs+=<:> | |
set hlsearch | |
set incsearch | |
set scrolloff=15 | |
set list | |
set listchars=tab:::,trail:.,extends:#,nbsp:. | |
set textwidth=80 | |
set colorcolumn=+1 | |
hi ColorColumn ctermbg=black | |
set nowrap | |
set smartindent | |
set expandtab | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set pastetoggle=<F12> | |
" Use tabs for makefiles. | |
au FileType make set noexpandtab | |
au BufWritePre <buffer> :call setline(1, map(getline(1,"$"), 'substitute(v:val, "\\s\\+$","","")')) | |
let mapleader="," |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment