-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.vim
More file actions
31 lines (29 loc) · 1.16 KB
/
Copy pathcommands.vim
File metadata and controls
31 lines (29 loc) · 1.16 KB
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
"========================================}{
" clip board
Plugin 'YankRing.vim'
let g:yankring_max_history = 100
nnoremap <silent> <F4> :YRShow<CR>
nnoremap <silent> <D-y> :YRShow<CR>
let g:yankring_replace_n_pkey = '<m-p>'
let g:yankring_replace_n_nkey = '<m-n>'
"========================================}{
"code format - easy align
Plugin 'junegunn/vim-easy-align'
vnoremap <silent> <Enter> :EasyAlign<Enter>
"========================================}{
Plugin 'Lokaltog/vim-easymotion'
"========================================}{
Plugin 'matchit.zip'
"========================================}{
"Plugin 'terryma/vim-smooth-scroll'
"noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 3, 2)<CR>
"noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 3, 2)<CR>
"noremap <silent> <c-b> :call smooth_scroll#up(&scroll*2, 3, 4)<CR>
"noremap <silent> <c-f> :call smooth_scroll#down(&scroll*2, 3, 4)<CR>
" need to 'v' to normal mode before editing using i I a ...
Plugin 'terryma/vim-multiple-cursors'
let g:multi_cursor_start_key='<F6>'
Plugin 'terryma/vim-expand-region'
"map + <Plug>(expand_region_expand)
"map _ <Plug>(expand_region_shrink)
"========================================}{