Created
November 21, 2011 04:22
-
-
Save matthewstory/1381600 to your computer and use it in GitHub Desktop.
Revisions
-
matthewstory revised this gist
Feb 16, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ 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>_ -
matthewstory revised this gist
Nov 21, 2011 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,7 @@ 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\+$/ -
matthewstory created this gist
Nov 21, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ 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 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.*/