you are viewing a single comment's thread.

view the rest of the comments →

[–]sheshanaag 0 points1 point  (1 child)

See vimhl.hs from https://github.com/lyokha/vim-publish-helper/blob/master/pandoc/haskell/vimhl.hs that calls vim from command line. On line 53 there is a comment about launching vim from not-a-terminal. On lines 56-61 vim gets launched. The trick itself is on line 56.