-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsvimrc
58 lines (49 loc) · 1.56 KB
/
.vsvimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
set ignorecase
set smartcase
set clipboard=unnamed
set number
set incsearch
set hlsearch
" vim functionality
nmap <C-O> :vsc View.NavigateBackward<CR>
nmap <C-I> :vsc View.NavigateForward<CR>
nmap <C-l> :noh<CR>
" editing
nmap <Space>; A;<Esc>
nnoremap gcc :vsc Edit.ToggleLineComment<CR>
vnoremap gc :vsc Edit.ToggleLineComment<CR><Esc><Esc>
nnoremap n nzz
nnoremap N Nzz
nnoremap <Space><CR> <C-]>
nnoremap s :vsc Extras.InvokePeasyMotionTwoCharJump<CR>
" actions
nmap zl :so ~/.vsvimrc<CR>
nmap <Space>b :vsc Build.RebuildSolution<CR>
" navigation and movement
nmap äd :vsc Edit.GoToNextIssueInFile<CR>
nmap öd :vsc Edit.GoToPreviousIssueInFile<CR>
nmap äe :vsc View.NextError<CR>
nmap öe :vsc View.PreviousError<CR>
nmap äm :vsc Edit.NextMethod<CR>
nmap öm :vsc Edit.PreviousMethod<CR>
nmap äf :vsc Window.NextDocumentWindow<CR>
nmap öf :vsc Window.PreviousDocumentWindow<CR>
"tooltips
nmap <Space>d :vsc Edit.QuickInfo<CR>
nmap <C-k> :vsc Edit.ParameterInfo<CR>
" dialogs
nmap <Space>o :vsc File.OpenFile<CR>
nmap <Space>O :vsc File.OpenProject<CR>
nmap <Space><Space> :vsc Edit.NavigateTo<CR>
" tool windows
nmap <Space>ts :vsc TestExplorer.ShowTestExplorer<CR>
nmap <Space>tr :vsc TestExplorer.RunAllTestsInContext<CR>
nmap <Space>td :vsc TestExplorer.DebugAllTestsInContext<CR>
nmap <Space>ta :vsc TestExplorer.RunAllTests<CR>
nmap <Space>s :vsc View.SolutionExplorer<CR>
nmap <Space>g :vsc View.GitWindow<CR>
nmap <Space>e :vsc View.ErrorList<CR>
nmap <Space>l :vsc View.Output<CR>
nmap <Space>r :vsc Edit.FindAllReferences<CR>
" debugging
nmap <Space>dx :vsc Debug.StopDebugging<CR>