Created
May 27, 2015 08:23
-
-
Save sgur/403ebba80b50581ec435 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
" 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment