parent
26ed57e0fe
commit
e76d00ccc0
@ -73,6 +73,8 @@ command! -nargs=0 -bar SignifyToggle call sy#toggle()
|
|||||||
command! -nargs=0 -bar SignifyToggleHighlight call sy#highlight#line_toggle()
|
command! -nargs=0 -bar SignifyToggleHighlight call sy#highlight#line_toggle()
|
||||||
|
|
||||||
" Init: mappings {{{1
|
" Init: mappings {{{1
|
||||||
|
let s:cpoptions = &cpoptions
|
||||||
|
set cpoptions+=B
|
||||||
|
|
||||||
" hunk jumping
|
" hunk jumping
|
||||||
nnoremap <silent> <expr> <plug>(signify-next-hunk) &diff
|
nnoremap <silent> <expr> <plug>(signify-next-hunk) &diff
|
||||||
@ -97,6 +99,9 @@ xnoremap <silent> <plug>(signify-motion-inner-visual) :<c-u>call sy#util#hunk_t
|
|||||||
onoremap <silent> <plug>(signify-motion-outer-pending) :<c-u>call sy#util#hunk_text_object(1)<cr>
|
onoremap <silent> <plug>(signify-motion-outer-pending) :<c-u>call sy#util#hunk_text_object(1)<cr>
|
||||||
xnoremap <silent> <plug>(signify-motion-outer-visual) :<c-u>call sy#util#hunk_text_object(1)<cr>
|
xnoremap <silent> <plug>(signify-motion-outer-visual) :<c-u>call sy#util#hunk_text_object(1)<cr>
|
||||||
|
|
||||||
|
let &cpoptions = s:cpoptions
|
||||||
|
unlet s:cpoptions
|
||||||
|
|
||||||
" Function: save {{{1
|
" Function: save {{{1
|
||||||
|
|
||||||
function! s:save()
|
function! s:save()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user