diff --git a/autoload/repeat.vim b/autoload/repeat.vim index cd305a7..142f1b8 100644 --- a/autoload/repeat.vim +++ b/autoload/repeat.vim @@ -117,12 +117,12 @@ nnoremap (RepeatUndo) :call repeat#wrap('u',v:count) nnoremap (RepeatUndoLine) :call repeat#wrap('U',v:count) nnoremap (RepeatRedo) :call repeat#wrap("\C-R>",v:count) -if !hasmapto('(RepeatDot)', 'n') | nmap . (RepeatDot) | endif -if !hasmapto('(RepeatUndo)', 'n') | nmap u (RepeatUndo) | endif +if !hasmapto('(RepeatDot)', 'n') | nmap . (RepeatDot)| endif +if !hasmapto('(RepeatUndo)', 'n') | nmap u (RepeatUndo)| endif if maparg('U','n') ==# '' && !hasmapto('(RepeatUndoLine)', 'n') nmap U (RepeatUndoLine) endif -if !hasmapto('(RepeatRedo)', 'n') | nmap (RepeatRedo) | endif +if !hasmapto('(RepeatRedo)', 'n') | nmap (RepeatRedo)| endif augroup repeatPlugin autocmd!