open-in-editor icon indicating copy to clipboard operation
open-in-editor copied to clipboard

Vim support improvement

Open lahmatiy opened this issue 8 years ago • 2 comments

Recently #6 was merged. It adds basic support for open file in vim. However we need fix some issues:

  • it always creates new session of vim on every open file request
  • we need alternate what terminal to use – now it's Terminal, but we need iTerm support too
  • bring vim window on top when request to open a file

//cc @pofigizm

lahmatiy avatar Feb 19 '17 07:02 lahmatiy

Perhaps, the point about iTerm is very usefull, but I don't use it. It's bad idea to add support for it without checking how it works. I think it will be easy for iTerm's users. Possibly, them need to change here to iTerm. ))

Other points are not so clearly. I thought about them, but I didn't find right way. As a vim user, I can to open many vim sessions in different terminal tabs or windows parallely. Also I use terminal multiplexer Tmux, which can be used for opennig my vim session too. Which one do I have to chose for open my file? One usefull case which I see, is grouping all files, opened via open-in-editor, in one session, but I couldn't find solution for this.

pofigizm avatar Feb 19 '17 12:02 pofigizm

It seems the --remote argument could be used to open a file in the same VIM window http://vimdoc.sourceforge.net/htmldoc/remote.html .

generalov avatar Mar 15 '17 13:03 generalov