Skip to content

Instantly share code, notes, and snippets.

@sijad
Last active November 5, 2016 17:38
Show Gist options
  • Save sijad/ee8c1610720c789495508e5c2c907e88 to your computer and use it in GitHub Desktop.
Save sijad/ee8c1610720c789495508e5c2c907e88 to your computer and use it in GitHub Desktop.
My Vim instalaltion
set nocompatible
set backspace=2
filetype off
execute pathogen#infect()
filetype plugin indent on
syntax on
set background=dark
"let g:solarized_termcolors=256
"colorscheme solarized
let g:rehash256 = 1
colorscheme molokai
let g:airline#extensions#tabline#enabled = 1
set statusline+=%{fugitive#statusline()}
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
"set ignorecase
"set listchars=tab:>-,trail:~,extends:>,precedes:<,space:.
"set list
set number
let NERDTreeShowHidden=1
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
let g:indent_guides_auto_colors = 0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=black
"autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=brblack
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
ctrlp.vim
editorconfig-vim
molokai
nerdtree
syntastic
typescript-vim
vim-airline
vim-better-whitespace
vim-easymotion
vim-fugitive
vim-gitgutter
vim-go
vim-indent-guides
vim-multiple-cursors
vim-surround
youcompleteme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment