+++ /dev/null
-if [ -d "${HOME}/.fzf" ] ; then
- PATH="${HOME}/.fzf:${PATH}"
-fi
-[ -f ~/.fzf.bash ] && source ~/.fzf.bash
-
-PATH='/c/programs/CMake/bin':'/c/program files (x86)/msbuild/12.0/bin':${PATH}
-
-alias gvim='winpty "c:/programs/vim/vim74/gvim.exe"'
-alias python='winpty "c:/program files (x86)/python35-32/python.exe"'
-alias cmake='winpty "c:/programs/cmake/bin/cmake.exe"'
-alias vcbuild='winpty "c:/program files (x86)/microsoft visual studio 9.0/vc/vcpackages/vcbuild.exe"'
-alias msbuild='winpty "c:/program files (x86)/msbuild/12.0/bin/msbuild.exe"'
-
-eval "$(ssh-agent -s)"
-ssh-add.exe ~/.ssh/github
Plug 'tpope/vim-surround'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-commentary'
+Plug 'tpope/vim-dispatch'
+Plug 'tpope/vim-vinager'
Plug 'scrooloose/syntastic'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'brandonbloom/csearch.vim'
Plug 'chazy/cscope_maps'
Plug 'altercation/vim-colors-solarized'
Plug 'editorconfig/editorconfig-vim'
-Plug 'vim-scripts/a.vim'
+Plug 'fholgado/minibufexpl.vim'
+Plug 'a.vim'
+"Plug 'L9'
+"Plug 'FuzzyFinder'
call plug#end()
" section: options {{{1
" ---------------------
-set autoindent
+"set autoindent
set autoread
set autowrite " automatically save before commands like :next and :make
+set background=dark
set backspace=2
if exists('+breakindent')
set breakindent showbreak=\ +
set linebreak
set mouse=nvi
set mousemodel=popup
+set number
"set pastetoggle=<f2>
set printoptions=paper:letter
set scrolloff=1
set shiftround
-set showcmd " show (partial) command in status line.
+set shortmess=aoOtI
+"set showcmd " show (partial) command in status line.
set showmatch " show matching brackets.
set sidescrolloff=5
set smartcase " case insensitive searches become sensitive with capitals
-"set smarttab " sw at the start of the line, sts everywhere else
"setglobal tags=./tags;
set timeoutlen=500 " leader key timeout
set ttimeoutlen=50 " make esc work faster
set wildignore+=tags,.*.un~,*.pyc
set winaltkeys=no
-if !has("gui_running") && $display == '' || !has("gui")
- set mouse=
-endif
-set background=dark
-set number
+"if !has("gui_running") && $display == '' || !has("gui")
+" set mouse=
+"endif
+
+set errorformat=\ %#%f(%l):\ %m
+set makeprg=msbuild.exe\ -nologo\ -v:q\ -property:GenerateFullPaths=true\
" plugin settings {{{2
let g:netrw_liststyle=3
let g:editorconfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
let g:editorconfig_verbose=1
+"let g:editorconfig_exec_path = 'Path to your EditorConfig Core executable'
set colorcolumn=80
highlight ColorColumn ctermbg=9
nnoremap <Leader>p "*p
nnoremap <Leader>P "*P
vnoremap <Leader>p "*p
-vnoremap <Leader>P "*P
+Hvnoremap <Leader>P "*P
else
" nnoremap <Leader>y "*y
" nnoremap <Leader>p "*p
map <c-_> :cstag <c-r>=expand("<cword>")<cr><cr>
endif
-" split navigations
-nnoremap <C-J> <C-W><C-J>
-nnoremap <C-K> <C-W><C-K>
-nnoremap <C-L> <C-W><C-L>
-nnoremap <C-H> <C-W><C-H>
-" folding
-nnoremap <cr> za
+" Maps leader-[h,j,k,l] to windows split navigations
+nnoremap <leader>h <C-W><C-H>
+nnoremap <leader>j <C-W><C-J>
+nnoremap <leader>k <C-W><C-K>
+nnoremap <leader>l <C-W><C-L>
+
+" Maps Ctrl-[h,j,k,l] to resizing a window split
+nnoremap <C-H> <C-W><
+nnoremap <C-J> <C-W>-
+nnoremap <C-K> <C-W>+
+nnoremap <C-L> <C-W>>
+
"exit insert mode
inoremap jj <esc>
inoremap j<space> j
+" folding
+noremap <cr> za
+" In the quickfix window, <CR> is used to jump to the error under the
+" cursor, so undefine the mapping there.
+autocmd BufReadPost quickfix nnoremap <buffer> <CR> <CR>
" section: autocommands {{{1
" --------------------------