-
Notifications
You must be signed in to change notification settings - Fork 0
/
_vsvimrc
61 lines (47 loc) · 1.85 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
59
60
61
"
" ██ ███████ ██ ██
" ██ ██ ██ ██ Jakob Ferdinand Wegenschimmel
" ██ █████ ██ █ ██ https://github.com/JakobFerdinand
" ██ ██ ██ ██ ███ ██
" █████ ██ ███ ███
"
" A customized configuration file for VsVim - a free vim emulator for VisualStudio
" http://github.com/VsVim/VsVim
set clipboard=unnamed " Copy/paste between vim and other programs
set ignorecase
set smartcase
set number
set relativenumber
set nowrap
" Show a few lines of context around the cursor. Note that this makes the
" text scroll if you mouse-click near the start or end of the window.
set scrolloff=5
set cursorline
set signcolumn
" set 'selection', 'selectmode', 'mousemodel' and 'keymodel' for MS-Windows
behave mswin
" backspace in Visual mode deletes selection
vnoremap <BS> d
"
" List of all commands can be found in
" VS -> Tools -> Options -> Environment -> Keyboard
"
map <Space>q :vsc Window.QuickLaunch<CR>
map <Space>b :vsc Build.BuildSolution<CR>
map <Space>bc :vsc Build.BuildSelection<CR>
map <Space>f :vsc Edit.Find<CR>
map <Space>h :vsc Edit.Replace<CR>
map <Space>t :vsc Edit.NavigateTo<CR>
map <Space>kc :vsc Edit.CommentSelection<CR>
map <Space>kd :vsc Edit.FormatDocument<CR>
map <Space>ku :vsc Edit.UncommentSelection<CR>
map <Space>mp :vsc Edit.StopOutlining<CR>
map <Space>rg :vsc Edit.RemoveAndSort<CR>
map <Space>fs :vsc File.SaveSelection<CR>
map <Space>fd :vsc Edit.FormatDocument<CR>
map <Space>ne :vsc View.NextError<CR>
map <Space>rr :vsc Refactor.Rename<CR>
map <Space>rt :vsc TestExplorer.RunAllTestsInContext<CR>
map <Space>dt :vsc TestExplorer.DebugAllTestsInContext<CR>
map <Space>gs :vsc View.GitWindow<CR>
map <Space>em :normal @m<CR>