-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_vsvim
More file actions
45 lines (37 loc) · 985 Bytes
/
_vsvim
File metadata and controls
45 lines (37 loc) · 985 Bytes
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
inoremap jk <esc>
let mapleader=" "
" Y is a strong y, D is a strong d in Vim default setting
" as you can see, a stronger h and a stronger l
nnoremap H 0
vnoremap H 0
nnoremap L $
vnoremap L $
set clipboard=unnamed
set shiftwidth=4
set tabstop=4
set softtabstop=0
set expandtab
set backspace=indent,eol,start
set autoindent
set magic
set number
set hlsearch
set incsearch
set nowrap
set ignorecase
set smartcase
set textwidth=80
nnoremap <c-k> <c-w>k
nnoremap <c-j> <c-w>j
nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l
nnoremap <c-o> :vsc View.NavigateBackward<CR>
nnoremap <c-i> :vsc View.NavigateForward<CR>
nnoremap <leader>ev :e ~/.vimrc<CR>
nnoremap <leader>ec :so ~/.vimrc<CR>
nnoremap <leader>b :vsc Build.BuildSolution<CR>
nnoremap <leader>r :vsc Debug.StartWithoutDebugging<CR>
nnoremap <leader>f :vsc VAssistX.OpenFileInSolutionDialog<CR>
nnoremap <leader>h :nohlsearch<CR>
map <leader>cc :vsc Edit.CommentSelection<CR>
map <leader>cu :vsc Edit.UncommentSelection<CR>