Created
August 15, 2014 16:05
-
-
Save helmutgranda/a8347b5e5f0afe293f11 to your computer and use it in GitHub Desktop.
reset of 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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set guifont=Inconsolata-dz\ for\ Powerline:h15 | |
let g:Powerline_symbols = 'fancy' | |
set encoding=utf-8 | |
set t_Co=256 | |
set fillchars+=stl:\ ,stlnc:\ | |
set term=xterm-256color | |
set termencoding=utf-8 | |
" Display line numbers | |
set number | |
"python from powerline.vim import setup as powerline_setup | |
"python powerline_setup() | |
"python del powerline_setup | |
" Can be typed even faster than jj. | |
:imap jj <Esc> | |
" open NERDTree automatically when vim starts up if no files were specified | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | |
map <C-n> :NERDTreeToggle<CR> | |
" close VIM if the only window open is NERDTree | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif | |
let g:syntastic_javascript_checkers = ['jshint'] | |
let g:syntastic_enable_signs=1 | |
let g:syntastic_auto_loc_list=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment