File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -257,30 +257,30 @@ function! s:synname()
257257endfunction
258258
259259function ! s: wrap_i (back,forward)
260- execute ' normal! k' .a: forward
260+ execute ' norm k' .a: forward
261261 let line = line (' .' )
262- execute ' normal! ' .a: back
262+ execute ' norm ' .a: back
263263 if line (' .' ) == line - 1
264264 return s: wrap_a (a: back ,a: forward )
265265 endif
266- execute ' normal! jV' .a: forward .' k'
266+ execute ' norm jV' .a: forward .' k'
267267endfunction
268268
269269function ! s: wrap_a (back,forward)
270- execute ' normal! ' .a: forward
270+ execute ' norm ' .a: forward
271271 if line (' .' ) < line (' $' ) && getline (line (' .' )+ 1 ) == # ' '
272272 let after = 1
273273 endif
274- execute ' normal! ' .a: back
274+ execute ' norm ' .a: back
275275 while getline (line (' .' )-1 ) = ~# ' ^\s*#' && line (' .' )
276276 -
277277 endwhile
278278 if exists (' after' )
279- execute ' normal! V' .a: forward .' j'
279+ execute ' norm V' .a: forward .' j'
280280 elseif line (' .' ) > 1 && getline (line (' .' )-1 ) = ~# ' ^\s*$'
281- execute ' normal! kV' .a: forward
281+ execute ' norm kV' .a: forward
282282 else
283- execute ' normal! V' .a: forward
283+ execute ' norm V' .a: forward
284284 endif
285285endfunction
286286
You can’t perform that action at this time.
0 commit comments