You can execute the Ctrl-O
and Ctrl-I
commands within a script by using the :execute
and :normal
commands.
:execute "normal \<C-O>" :execute "normal \<C-I>"
See
:help :normal :help :execute :help jump-motions
Есть ли способ, которым я мог бы использовать Vimscript, чтобы пройти через список переходов Ctrl-O
, Ctrl-I
и выбрать предыдущие прыжок буфера / позиции?
Любое предложение с благодарностью.
You can execute the Ctrl-O
and Ctrl-I
commands within a script by using the :execute
and :normal
commands.
:execute "normal \<C-O>" :execute "normal \<C-I>"
See
:help :normal :help :execute :help jump-motions