I'm looking for a quick way to execute vim commands without writing functions, like so.
nnoremap([[keymap]], {Command1, Command2, Command3}, silent)
So if the second function in nnoremap is a table, each command in the table can be called using vim.fn.execute or similar.
Is something like this feasible or available, without using Lua functions?
I'm looking for a quick way to execute vim commands without writing functions, like so.
nnoremap([[keymap]], {Command1, Command2, Command3}, silent)So if the second function in
nnoremapis a table, each command in the table can be called usingvim.fn.executeor similar.Is something like this feasible or available, without using Lua functions?