and now a better Start-Process which don't flicker: $argRead = '"e ' + $filename + '"' $argwrite = '"w! ' + $tmpFilepath + '"' Start-Process -FilePath $vimPath -wait -WindowStyle Hidden -ArgumentList ( ` '-c', '"set noswapfile"', '-c', $argRead, ` '-c', '"set fileencoding=utf-8"', '-c', '"set bomb"', ` '-c', $argwrite, '-c', '"q!"' )
> -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5acb20fb-7fe9-4cac-b970-97e826f18c54%40googlegroups.com.