Created
March 18, 2020 17:42
-
-
Save sho-luv/98d2d6df3e40d0059a17061f2170054c to your computer and use it in GitHub Desktop.
vimrc
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
" Python | |
"au BufRead *.py compiler nose: | |
au FileType python set omnifunc=pythoncomplete#Complete | |
au FileType python setlocal expandtab shiftwidth=4 tabstop=4 smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with | |
au BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m | |
au FileType python set foldmethod=indent foldlevel=99 | |
" set ruby file tabstop, shiftwidth, and: | |
autocmd FileType ruby setlocal et ts=2 sw=2 tw=0 | |
" set right mouse click: | |
set mouse-=a | |
" set tabs and syntax: | |
syntax on | |
set tabstop=4 | |
set shiftwidth=4 | |
" set chars for tabs etc: | |
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:< | |
" implement plugin https://github.com/chrisbra/Recover.vim: | |
call plug#begin() | |
Plug 'chrisbra/recover.vim' | |
call plug#end() | |
" set search colors: | |
set hlsearch | |
hi Search ctermbg=LightYellow | |
hi Search ctermfg=Red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment