Created
November 21, 2011 04:22
-
-
Save matthewstory/1381600 to your computer and use it in GitHub Desktop.
i prefer minimalism in all things ...
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
syntax on | |
set viminfo='20,\"500 | |
set tabstop=4 shiftwidth=4 expandtab | |
set nohlsearch | |
set ignorecase smartcase | |
set number | |
autocmd FileType php set smartindent | |
autocmd FileType javascript set smartindent | |
autocmd FileType python set smartindent | |
autocmd FileType c set smartindent noexpandtab | |
set autoindent | |
set encoding=utf8 | |
map <C-J> <C-W>j<C-W>_ | |
map <C-K> <C-W>k<C-W>_ | |
map <C-H> <C-W>h | |
map <C-L> <C-W>l | |
map <C-E> <C-W>= | |
map <C-B> <C-W><bar> | |
map <C-P> :set paste nonumber<Return> | |
map <C-N> :set nopaste number<Return> | |
set wmw=0 | |
set wmh=0 | |
highlight OverLength ctermbg=red ctermfg=white guibg=#592929 | |
match OverLength /\%81v.*/ | |
highlight TrailingSpace ctermbg=red ctermfg=white guibg=#592929 | |
au InsertEnter * match TrailingSpace /\s\+\%#\@<!$/ | |
au InsertLeave * match TrailingSpace /\s\+$/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment