What is the recommended way to run VimScript normal commands in Neovim with Lua?
Sometimes, I can achieve things very easily with a few keypresses executed as a normal
command compared to scripting the whole thing with Lua API.
Now I know I can use vim.cmd
and just put the whole normal ...
command inside there, but I was wondering if there was any overhead to this and if yes what is then the best way to do it?