Use "normal gv" to restore visual selection
This commit is contained in:
parent
49a4795a86
commit
7948d6ca47
@ -361,7 +361,7 @@
|
||||
|
||||
" Restore cursor position/selection
|
||||
if ! empty(a:visualmode)
|
||||
silent exec 'normal! `<' . a:visualmode . '`>'
|
||||
silent exec 'normal! gv'
|
||||
else
|
||||
call setpos('.', [0, orig_pos[0], orig_pos[1]])
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user