blob: 1af59c07e4489696da56209b71321fa54d343f8f (
plain) (
blame)
1
2
3
4
5
6
|
" Run some normal-mode keystrokes without jumping around
function! vimrc#Anchor(keys) abort
let view = winsaveview()
execute 'normal! '.a:keys
call winrestview(view)
endfunction
|