sponsor Vim development Vim logo Vim Book Ad

vim activator : A tool for reusing vim in xterm

 script karma  Rating 1/1, Downloaded by 902  Comments, bugs, improvements  Vim wiki

created by
Yiu Wing
 
script type
utility
 
description
When you exit vim to shell by pressing <ctrl-z> which suspends vim,
this nifty little gadget allows you edit subsequent files by reusing
the existing vim.  This tool requires client-server option to be
enabled in vim.
 
install details
1.  Put .bash_profile into your home directory.  If there's already existing
one, then you can rename the untar file to a different name, and source
it from the existing .bash_profile.

2.  In .vimrc add a reference to source Shell.vim from the tar ball.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
activator.tar.gz 3.1 2020-02-19 8.0 Yiu Wing Fix the following bugs.

    1)  when editing multiple files in terminal mode, we should use existing
        vim, not invoking a new one

    2)  there are redundant '' pair when editing in terminal mode, some
        leftover from previous immature improvement

    3)  drop a frivolous function call from an in-house script
activator.tar.gz 3.0 2020-02-18 8.0 Yiu Wing This is a major update after many years.  No longer needed the C server, we
are using a pure vim solution.  The following features have been added.

    1)  be able to reuse vim in its own terminal

    2)  edit the previous opened file without jumping, i.e. cd, to the
        directory, or specifying the full path

    3)  support vim command line arguments for the first time, and partial
        support is available when reusing vim
activator.tar.gz 2.0 2014-05-11 7.4 Yiu Wing A tremendous effort has been made to allow vim working seamlessly with bash shell, rather than embedding a shell in vim. After using this plugin a couple of months, I really don't see why we would need to have a fully fledge shell in vim which is on top of the feature requested list ;-)  There are already plenty of shells outside vim, we just need to make them working nicely together.  Check out the readme.txt for more information.  Happy vimming and bashing!
activator.tar.gz 1.0 2011-03-19 7.0 Yiu Wing Initial upload
ip used for rating: 3.144.48.135

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github