On Thu, Nov 17, 2011 at 16:10, Ney <[email protected]> wrote: > Hi. > On Terminal. How can i open multiples files in one vim ALREADY opened? > ex: I have the file 'text1.txt' opened in terminal vi. On command line > how can i open the file 'text2.txt' in the same vi already opened? > > In gvim i use --remote-silent. > > Thanks
Hi, Vim in a terminal is not a server by default, you need to start it with a server name: vim --servername blah Then from the other command line you can do: vim --servername blah --remote-silent file That will send the command to the server if there is one with such name or start one with that name and send the command to itself. Hope that helps. Regards, -- Jacobo de Vera -- 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
