From c4b111bff0edd1a6a5ce0152e26a59d7218c159e Mon Sep 17 00:00:00 2001 From: Zolboo Date: Fri, 19 Apr 2019 15:27:38 +0200 Subject: [PATCH] Changing from normal j to +1 for mapping conflict --- plugin/DoxygenToolkit.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/DoxygenToolkit.vim b/plugin/DoxygenToolkit.vim index 37d51a6..eed6f27 100644 --- a/plugin/DoxygenToolkit.vim +++ b/plugin/DoxygenToolkit.vim @@ -514,7 +514,7 @@ function! DoxygenUndocumentFunc(blockTag) while ( search(l:search, 'W') != 0 ) exec "normal O#ifndef " . g:DoxygenToolkit_undocTag - exec "normal j^%" + exec "+1^%" if ( g:DoxygenToolkit_endCommentTag == "" ) exec "normal o#endif // " . g:DoxygenToolkit_undocTag else @@ -593,7 +593,7 @@ function! DoxygenCommentFunc() " Look for function/method/... to document " We look only on the first three lines! while( match( l:lineBuffer, l:emptyLinePattern ) != -1 && l:count < 4 ) - exec "normal j" + exec "+1" let l:lineBuffer = l:lineBuffer.' '.getline( line( "." ) ) let l:count = l:count + 1 endwhile @@ -636,7 +636,7 @@ function! DoxygenCommentFunc() endif continue endif - exec "normal j" + exec "+1" let l:lineBuffer = l:lineBuffer.' '.getline( line( "." )) let l:count = l:count + 1 endwhile