Created
July 10, 2014 17:28
-
-
Save dbernar1/7bc106968fde46050889 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
" a particular style of auto-indentation | |
set si | |
" I like these colors | |
syntax enable | |
set background=dark | |
colorscheme fruit "https://github.com/flazz/vim-colorschemes/blob/master/colors/fruit.vim | |
" create .swp temp files in my home dir instead of in the current directory | |
set directory=~/.vimtmp | |
" highlight searched keywords | |
set hlsearch | |
" open file focused on same line you had closed it on last time | |
au BufWinLeave *.php mkview | |
au BufWinEnter *.php silent loadview | |
" remember command history across vim sessions | |
set viminfo='10,\"100,:20,%,n~/.viminfo | |
" turn on pathogen | |
execute pathogen#infect() | |
" check js syntax with jshint | |
let g:syntastic_javascript_checkers = ['jshint'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment