Blog: 2023-07-14

From razwiki
Revision as of 17:18, 14 July 2023 by Razzi (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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