vim-peekaboo plugin

This commit is contained in:
ManjaroOne666 2018-03-05 16:00:54 +00:00
parent 572b5e8074
commit 3dd754788d
1 changed files with 6 additions and 1 deletions

7
vimrc
View File

@ -77,6 +77,8 @@ Plugin 'Valloric/YouCompleteMe'
" gitgutter " gitgutter
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd " https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
Plugin 'airblade/vim-gitgutter' Plugin 'airblade/vim-gitgutter'
" vim-peekaboo
Plugin 'junegunn/vim-peekaboo'
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required
@ -170,7 +172,7 @@ nnoremap <leader>gd :!clear; git diff<CR>
nnoremap <leader>ga :!clear; git add %; git status<CR> nnoremap <leader>ga :!clear; git add %; git status<CR>
nnoremap <leader>gA :!clear; git add .; git status<CR> nnoremap <leader>gA :!clear; git add .; git status<CR>
nnoremap <leader>gc :!clear; git commit -m ''<Left> nnoremap <leader>gc :!clear; git commit -m ''<Left>
nnoremap <leader>gp :!clear; git push<CR> nnoremap <leader>gp :!clear; echo 'Git push ...'; git push<CR>
nnoremap <leader>gl :!clear; git log<CR> nnoremap <leader>gl :!clear; git log<CR>
" netrw " netrw
@ -416,6 +418,9 @@ endif
" #plugin settings " #plugin settings
" vim-peekaboo
let g:peekaboo_window = 'vert to 30new'
" gitgutter " gitgutter
nmap ]h <Plug>GitGutterNextHunk nmap ]h <Plug>GitGutterNextHunk
nmap [h <Plug>GitGutterPrevHunk nmap [h <Plug>GitGutterPrevHunk