12 Commits

Author SHA1 Message Date
Gerd Wachsmuth 47a82ee0c8 Small improvements in remoteOpen 2017-02-11 10:16:07 +01:00
Gerd Wachsmuth 4586e2210f Add gates to suppress latex-suite if needed.
This is usefull if latex-suite is installed system-wide but you do not
want to use it.
2016-10-05 10:52:14 +02:00
Till Maas dd2e3daf1e remove remaining SVN/CVS keywords 2014-11-15 15:23:57 +01:00
Till Maas e2f07b8792 remove most svn/CVS keywords 2010-11-12 22:12:38 +01:00
Johann Felix Soden 77c5977468 redefine RemoteOpen, RemoteInsert, if they exist
Description: Fix error message on double loading
 If the file plugin/remoteOpen.vim is loaded twice by vim (e.g. at both local
 and system-wide installation), errors about redefined commands are shown.
 This patch should fix this.
Author: Johann Felix Soden <johfel@gmx.de>
Bug-Debian: http://bugs.debian.org/444426
2010-11-12 22:10:59 +01:00
Srinath Avadhanula 059382b7db New: Used one of the advantages of using svn. Liberally used the 'prop*'
commands to do the following:
     1. change the EOL style of all vim files to be just LF.
     2. changed the mime-type of all files to text/plain
     3. removed the executable flag on all files.
     This should hopefully make the repo look better on all platforms etc.
2006-03-20 09:45:45 +00:00
Srinath Avadhanula b37e596f37 New: A new command :RemoteInsert which is useful for integration with
Jabref.
2006-03-20 08:30:51 +00:00
Srinath Avadhanula f1eb335c8e Minor clarification of code. 2005-12-28 00:38:04 +00:00
Srinath Avadhanula dceabf2b35 Bug: RemoteOpen does not work with file names with spaces.
Why: The following vim command
        :drop File Name with spaces
     opens up multiple files.
Fix: escape() the file name before issuing the drop command.
     NOTE: There is a vim bug where
        exec "drop ".escape(filename, '\ ')
     hangs GVIM.
2004-03-14 19:39:29 +00:00
Srinath Avadhanula c1ee594281 Bug: Opening a file via the :RemoteOpen command does not work (Xin Yin)
Why: Vim eats up all but the last remote_send call when multiple
     invokations to this function are made (Vim bug)
Fix: Collapse the entire set of keys into a single string and make a single
     remote_send call.
2004-02-29 07:26:22 +00:00
Srinath Avadhanula 7ce5ea92e9 Change: Previously, if a file was not opened in any other session, then it
would open it in a new session. But for projects with lots of
        files, this can become painful. Therefore, instead of opening in
        new sessions each time, open files in the same session we used the
        first time we had to create a session.
2003-06-14 04:43:07 +00:00
Srinath Avadhanula a5cb90541d This script provides a command :RemoteOpen which is supposed to be used
from the command line as follows:

gvim -c ":RemoteOpen +<lnum> <filename>"

where <lnum> is the line-number you wish <filename> to open to.  What will
happen is that a new gvim will start up and enquire from all previous
sessions if <filename> is already open in any of them. If it is, then it
will edit the file in that session and bring it to the foreground and itself
quit. Otherwise, it will not quit and instead open up the file for editing
at <lnum>.

This was mainly created to be used with Yap (the dvi previewer in miktex),
so you can specify the program for "inverse search" as specified above.
This ensures that the inverse search uses the correct gvim each time.
2003-06-08 23:42:44 +00:00