sgur
5/27/2015 - 8:23 AM

_vsvimrc

" indent
set vsvim_useeditordefaults

" Options
set clipboard=unnamed
set ignorecase
set incsearch
set hlsearch

" Jump
nnoremap <C-O>  :vsc View.NavigateBackward<CR>
nnoremap <C-I>  :vsc View.NavigateForward<CR>

" Definition
nnoremap <C-]>  :vsc Edit.GoToDefinition<CR>
nnoremap g<C-]>  :vsc Edit.FindAllReferences<CR>
nnoremap <C-t>  :vsc View.NavigateBackward<CR>

" Comment out
nnoremap gcc  :vsc Edit.CommentSelection<CR>
nnoremap gcu  :vsc Edit.UncommentSelection<CR>
vnoremap gc  :vsc Edit.CommentSelection<CR>
vnoremap gC  :vsc Edit.UncommentSelection<CR>

" Surround
vnoremap s  :vsc Edit.SurroundWith<CR>

" quickfix-like
nnoremap q]  :vsc Edit.GoToNextLocation<CR>
nnoremap q[  :vsc Edit.GoToPrevLocation<CR>

" Indent
inoremap <C-t>  <C-o>:vsc Edit.IncreaseLineIndent<CR>
inoremap <C-d>  <C-o>:vsc Edit.DecreaseLineIndent<CR>

" SwitchFile (CodeMaid)
nnoremap <F7>  :vsc CodeMaid.SwitchFile<CR>