I've got this from EmacsWiki:
(defun my/open-current-file-in-vim () (interactive) (async-shell-command (format "gvim +%d %s" (+ (if (bolp) 1 0) (count-lines 1 (point))) (shell-quote-argument buffer-file-name))))
I've tried replacing
vim but it opens Vim within Emacs. Is it possible to open Vim in external terminal and not show
*Async Shell Command* buffer at all?