Use bang version of normal

Fixes #2519
This commit is contained in:
Andrea Cedraro 2017-01-31 21:35:34 +01:00
parent f6867340dd
commit fda5c7e6c6
2 changed files with 2 additions and 2 deletions

View File

@ -1374,7 +1374,7 @@ def OpenFilename_test( vim_current, vim_command ):
call( '12split {0}'.format( __file__ ) ),
call( "exec "
"'au BufEnter <buffer> :silent! checktime {0}'".format( __file__ ) ),
call( 'silent! normal G zz' ),
call( 'silent! normal! Gzz' ),
call( 'silent! wincmd p' )
] )

View File

@ -1034,4 +1034,4 @@ def _SetUpLoadedBuffer( command, filename, fix, position, watch ):
.format( filename ) )
if position == 'end':
vim.command( 'silent! normal G zz' )
vim.command( 'silent! normal! Gzz' )