Skip to content

Instantly share code, notes, and snippets.

@mohitt
Last active February 14, 2020 03:06
Show Gist options
  • Save mohitt/fcd62792cb58c37d577408a41c398648 to your computer and use it in GitHub Desktop.
Save mohitt/fcd62792cb58c37d577408a41c398648 to your computer and use it in GitHub Desktop.
_vsvimrc_resharper
let mapleader="\<space>"
set clipboard=unnamed
nnoremap <leader>j :vsc Window.PreviousTab<CR>
nnoremap <leader>k :vsc Window.NextTab<CR>
nnoremap <leader>r :vsc Resharper.Resharper_GotoRecentFiles<CR>
nnoremap <leader>e :vsc Resharper.Resharper_GotoType<CR>
nnoremap <leader>f :vsc Resharper.Resharper_GotoFile<CR>
nnoremap <leader>d :vsc File.Close<CR>
nmap <leader>p :vsc Resharper.Resharper_FormatSelection<CR>
nmap <C-O> :vsc View.NavigateBackward<CR>
nmap <C-I> :vsc View.NavigateForward<CR>
vmap <C-O> :vsc View.NavigateBackward<CR>
vmap <C-I> :vsc View.NavigateForward<CR>
map <leader>vl :so ~/_vsvimrc<CR>
map <leader>ve :e ~/_vsvimrc<CR>
map <leader>wc :vsc File.CloseAllButThis<CR>
map <leader>wl :vsc Resharper.Resharper_LocateInSolutionOrAssembleyExplorer<CR>
map <leader>tr :vsc ReSharper.ReSharper_UnitTestRunFromContext<CR>
map <leader>td :vsc ReSharper.ReSharper_UnitTestDebugContext<CR>
map <leader>ta :vsc ReSharper.ReSharper_UnitTestRunSolution<CR>
map <leader>tl :vsc ReSharper.ReSharper_UnitTestSessionRepeatPreviousRun<CR>
map <leader>tt :vsc ReSharper.ReSharper_ShowUnitTestSessions<CR>
map <leader>/ :vsc Resharper.Resharper_LineComment<CR>
map <leader>b :vsc Build.BuildSolution<CR>
map <leader>wa :vsc File.CloseAllButThis<CR>
map gi :vsc Resharper.Resharper_GoToImplementation<CR>
map gu :vsc Resharper.Resharper_GoToUsage<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment