Blog: 2023-07-14

From razwiki
Jump to navigation Jump to search

Finally got the vim terminal integration thing working, with a hardcoded arg, but should be easy from the shell side to make it use a $variable.

fish

function vcall
  echo \x1b]51';["call", "Tapi_Tabedit", ["~/.vimrc"]]'\x07
end

vimrc

function Tapi_Tabedit(bufnum, arglist)
  execute 'tabedit' a:arglist[0]
endfunc