Created
September 6, 2013 09:19
-
-
Save sgur/6461490 to your computer and use it in GitHub Desktop.
_vsvimrc
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 backspace=start | |
set clipboard=unnamed | |
set ignorecase | |
set incsearch | |
set hlsearch | |
set visualbell | |
nnoremap <Space> : | |
inoremap <S-Space> <ESC> | |
cnoremap <S-Space> <ESC> | |
" Jump | |
nnoremap <C-O> :vsc View.NavigateBackward<CR> | |
nnoremap <C-I> :vsc View.NavigateForward<CR> | |
" Definition | |
nnoremap <C-]> :vsc Edit.GoToDefinition<CR> | |
nnoremap <C-t> :vsc View.NavigateBackward<CR> | |
" Comment out | |
nnoremap gc :vsc Edit.CommentSelection<CR> | |
vnoremap gc :vsc Edit.CommentSelection<CR> | |
" Surround | |
vnoremap S :vsc Edit.SurroundWith<CR> | |
" Intelisense | |
inoremap <C-Space> <C-o>:vsc Edit.ListMembers<CR> | |
" Remap | |
nnoremap Y y$ | |
nmap <ESC> :nohlsearch<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment