Add syntastic plugin, tweak list settings, register git difftool

This commit is contained in:
Andrew Miner
2017-08-30 14:13:05 -07:00
committed by Andrew Miner
parent 77365899bd
commit 4b1d3c04c7
2 changed files with 21 additions and 2 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
[user] [user]
name = Andrew Miner name = Andrew Miner
email = andrewminer@mac.com email = aminer@looker.com
[pull] [pull]
rebase = true rebase = true
[push] [push]
default = simple default = simple
[merge]
tool = gvimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[diff]
tool = gvimdiff
[difftool]
prompt = false
+11 -1
View File
@@ -14,8 +14,10 @@ Plug 'leafgarland/typescript-vim'
Plug 'nathanaelkane/vim-indent-guides' Plug 'nathanaelkane/vim-indent-guides'
Plug 'plasticboy/vim-markdown' Plug 'plasticboy/vim-markdown'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'skammer/vim-css-color'
Plug 'statianzo/vim-jade' Plug 'statianzo/vim-jade'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'vim-syntastic/syntastic'
call plug#end() call plug#end()
@@ -39,10 +41,12 @@ set backspace=indent,eol,start
set cmdheight=2 set cmdheight=2
set colorcolumn=120 set colorcolumn=120
set cursorline set cursorline
set diffopt=filler,vertical
set expandtab set expandtab
set nohlsearch set nohlsearch
set incsearch set incsearch
set laststatus=2 set laststatus=2
set listchars=eol:⏎,tab:␉·,trail:␠,nbsp:⎵
set modelines=2 set modelines=2
set nofoldenable set nofoldenable
set nowrap set nowrap
@@ -55,7 +59,7 @@ set showbreak="+++>"
set showcmd set showcmd
set showmatch set showmatch
set smarttab set smarttab
set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P set statusline=%<%f\ %h%m%r%#warningmsg#%{SyntasticStatuslineFlag()}%*%=%-14.(%l,%c%V%)\ %P
set t_Co=256 set t_Co=256
set tabstop=4 set tabstop=4
set textwidth=0 set textwidth=0
@@ -93,6 +97,12 @@ nmap =, :Tabularize /[^,]*:<CR>
" nathanaelkane/vim-indent-guides " nathanaelkane/vim-indent-guides
let g:indent_guides_enable_on_vim_startup = 0 " :IndentGuidesToggle let g:indent_guides_enable_on_vim_startup = 0 " :IndentGuidesToggle
" vim-syntastic/syntastic
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
" Key Mappings ######################################################################################################### " Key Mappings #########################################################################################################
map <F1> :NERDTreeToggle<CR> map <F1> :NERDTreeToggle<CR>