sponsor Vim development Vim logo Vim Book Ad

cloneSimilar : Create a duplicate clone of the current buffer with a similar name.

 script karma  Rating 0/0, Downloaded by 929  Comments, bugs, improvements  Vim wiki

created by
Ingo Karkat
 
script type
utility
 
description
DESCRIPTION
This plugin combines the buffer cloning functionality of clone.vim
(vimscript #4896) with the selection of similar files provided by
EditSimilar.vim (vimscript #2544) to provide :CloneSubstitute,
:ClonePlus etc. command variants of the original :CloneAs command.

USAGE
:ClonePlus,  :CloneMinus,  :CloneSubstitute,  :CloneRoot
:SClonePlus, :SCloneMinus, :SCloneSubstitute, :SCloneRoot
                        Duplicate and edit the current buffer to a file with a
                        similar name, using the substitutions and iterations
                        provided by the EditSimilar.vim plugin.
 
install details
INSTALLATION
This script is packaged as a vimball. If you have the "gunzip" decompressor
in your PATH, simply edit the *.vmb.gz package in Vim; otherwise, decompress
the archive first, e.g. using WinZip. Inside Vim, install by sourcing the
vimball or via the :UseVimball command.
    vim cloneSimilar*.vmb.gz
    :so %
To uninstall, use the :RmVimball command.

DEPENDENCIES
- Requires Vim 7.0 or higher.
- Requires the clone.vim plugin (vimscript #4896), version 1.00 or
  higher.
- Requires the EditSimilar.vim plugin (vimscript #2544), version 2.10 or
  higher.
 

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
cloneSimilar-1.00.vmb.gz 1.00 2014-03-18 7.0 Ingo Karkat Initial upload
ip used for rating: 44.220.184.63

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