Open saidelike opened 2 months ago
vim_run_command
to actually execute vim commands so we don't end up failing if paste() is used when insert()ing something (paste_to_insert_threshold
in community / insert_paste_disabled
unset in Andreas)paste_to_insert_threshold
in community / insert_paste_disabled
unset in Andreas), we need to disable it in normal mode and visual mode so the motions work
At the moment we execute lots of commands from normal mode, for instance:
Moreover if you look at neovim-talon or talon-vim and look for all the commands that we try to execute (
(":
allows to find them all), there is some inconsistency because sometimes we usevim_run_normal
/vim_run_normal_exterm
,vim_run_commandline
/vim_run_commandline_exterm
oractions.insert
.However what we should really do is just:
:
)user.vim_run_command("term\n")
(notice there is no:
)