sgur
9/6/2013 - 9:19 AM

_vsvimrc

_vsvimrc

" 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>