-
-
Save Code-Crash/771fba9c8a4a9788237473c9c556b047 to your computer and use it in GitHub Desktop.
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 characters
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
syntax on | |
call plug#begin() | |
Plug '/usr/local/opt/fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'itchyny/lightline.vim' | |
Plug 'terryma/vim-multiple-cursors' | |
Plug 'danro/rename.vim' | |
Plug 'anyakichi/vim-surround' | |
Plug 'mattn/emmet-vim' | |
Plug 'editorconfig/editorconfig-vim' | |
Plug 'scrooloose/syntastic' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'scrooloose/nerdtree' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
call plug#end() | |
map <C-P> :Files<CR> | |
map <C-\> :NERDTreeToggle<CR> | |
let g:lightline = { | |
\ 'active': { | |
\ 'left': [['mode', 'paste' ], ['readonly', 'filename', 'modified']], | |
\ 'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding']] | |
\ } | |
\ } | |
set laststatus=2 | |
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 | |
let g:syntastic_javascript_checkers = ['jshint'] | |
let g:NERDTreeIndicatorMapCustom = { | |
\ "Modified" : "✹", | |
\ "Staged" : "✚", | |
\ "Untracked" : "✭", | |
\ "Renamed" : "➜", | |
\ "Unmerged" : "═", | |
\ "Deleted" : "✖", | |
\ "Dirty" : "✗", | |
\ "Clean" : "✔︎", | |
\ 'Ignored' : '☒', | |
\ "Unknown" : "?" | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment