Vim: Integrate context.vim and yoink
This commit is contained in:
@@ -46,6 +46,8 @@ Plugin 'mbbill/undotree'
|
|||||||
Plugin 'kkoomen/vim-doge'
|
Plugin 'kkoomen/vim-doge'
|
||||||
Plugin 'SirVer/ultisnips'
|
Plugin 'SirVer/ultisnips'
|
||||||
Plugin 'honza/vim-snippets'
|
Plugin 'honza/vim-snippets'
|
||||||
|
Plugin 'wellle/context.vim'
|
||||||
|
Plugin 'svermeulen/vim-yoink'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Files switch, jump and grep-like tools {{{
|
" Files switch, jump and grep-like tools {{{
|
||||||
@@ -504,3 +506,9 @@ autocmd VimEnter * call vista#RunForNearestMethodOrFunction()
|
|||||||
let g:UltiSnipsExpandTrigger="<tab>"
|
let g:UltiSnipsExpandTrigger="<tab>"
|
||||||
let g:UltiSnipsJumpForwardTrigger="<cr>"
|
let g:UltiSnipsJumpForwardTrigger="<cr>"
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<leader>p"
|
let g:UltiSnipsJumpBackwardTrigger="<leader>p"
|
||||||
|
|
||||||
|
" yoink configuration
|
||||||
|
nmap <leader>p <plug>(YoinkPostPasteSwapBack)
|
||||||
|
nmap <leader>n <plug>(YoinkPostPasteSwapForward)
|
||||||
|
nmap p <plug>(YoinkPaste_p)
|
||||||
|
nmap P <plug>(YoinkPaste_P)
|
||||||
|
|||||||
Reference in New Issue
Block a user