blob: 982d25f373a0cfee7788e000ff0b1a5da06f1d54 (
plain) (
tree)
|
|
" Preserve the flags for a pattern when repeating a substitution with &; I
" don't really understand why this isn't a default, but there it is
nnoremap <silent>
\ &
\ :<C-U>&&<CR>
" Same again for visual mode; we use vnoremap rather than xnoremap to stay
" compatible with old Vims without doing :execute dances
vnoremap <silent>
\ &
\ :<C-U>&&<CR>
|