quilt : Enable quilt usage in vim
| script karma
Downloaded by 2808
Comments, bugs, improvements
script versions (upload new version)
|(from the help of the plugin: :help quilt-intro ) :
Quilt is a project initiated by Andrew Morton to work with patches sent on the
LKML. It is quite stable now, and really usefull to deal with stacked patches.
First of all, before using this plugin, you must install quilt on your
station, for, under debian distribution, type in a command shell:
aptitude install quilt
Now that you have your station setuped, let's speak a little about Quilt
itself, more information can be found in man quilt shell command.
The idea behind quilt is that you work on patches, not on sources directly, so
all your productions are patches. You create a patch to track your
modifications and send this patch to a work group so they can valiadate/accept
or integrate your modifications.
Now you need a tool to help you maintain your patches, and that's exacltly
what quilt does. Quilt let you apply a patch, modify your files (and thus the
patch), unapply the patch. But it also allows you to do that on several
patches at a time (one patch applied after the other ...) that's what we call
the stacked patches. (or the patch stack).
You can go to a level on the patch stack, modify the patch, and come back to
another patch stack level.
This plugin helps you handle all those boring operations with simple vim
To sum up the workflow :
... open a file ...
... work on the file ...
... save your modifiations ...
and so on ...
|uncompress the archive in your .vim directory (or in the system directory), then restart vim (or :source ~/.vim/plugin/quilt.vim then :helptag ~/.vim/doc/ )
the archive contains :
plugin/quilt.vim (the plugin itself)
doc/quilt.txt (the vim documentation about the plugin)
Click on the package to download.
ip used for rating: 184.108.40.206
||Fixed viminfo '" filemark issue (thanks to Petr Uzel)
||Fixed files handling in patches/ directory (thanks to Jordan Crouse)
||bugfix handling absolute filenames
added readonly mode for files not in current patch
||* Fixed g:Quilt* variables that were reseted every :source quilt.vim
* Added ta customization command for calling thunderbird (debian...
QuiltThunderbirdCmd should be set to "icedove" not "thunderbird"
||* Fixed QuiltAnnotate interface for files not completely from a patch
||* Fixed QuiltAnnotate Interface when anotating a file not from the 0 line (the Followcursor was not working)
||* Added a function to keep the current line in QuiltAnnotate
* Added auto close interface when one is closed
||* Added auto .rej opening when opening a file
* Added QuiltPatchEdit command
* Added .rej auto recognition in QuiltFiles
* Added automatic .rej recognition for FAILED hunk to QuiltPop
* Added automatic .rej recognition for FAILED hunk to QuiltPush
* Added color on QuiltPop/Push success/failure ...
* Added QuiltAnnotate command
* Fixed autocmd usage, so that commands are deleted on :source
* Added the license (GPL of course)
||* Fixed the nocompatible option that caused problem in 'compatible'
||* Added completion of patches directory for QuiltNew
* Beautified the help file :)
* Added patch argument for QuiltAdd
* Changed the completion of QuiltAdd (first arg file, second patch )
* Added QuiltRemoveFrom command
* Added QuiltRemoveFrom completion (patch, then files in <patch>)
* Beautified the code (comments and such ...)
* Added QuiltMail email address completion
* Fixed QuiltHeader to add the correct 'Subject:' template
* Added a status line in QuiltHeader to show the current patch name
* Fixed a little bug in QuiltHeader preventing to Push/Pop whille
editing a header
||* Added QuiltRename command
* Factorized code (adding DoSystem function)
* Added QuiltPushAll command
* Added QuiltPopAll command
* Added internal <SID>CurrentArgNumber
* Added QuiltHeader command
* Added QuiltWriteHeader command
||* Fixed the mail feature, special characters are now parsed and and rendered properly in thunderbird
||* Added QuiltPatches command
* Fixed bug in commands taking a file a argument when no file was given
(and no file was opened)
* Added QuiltMail bind with thunderbird
* Fixed some bugs ...
* Spellchecked the help ;)
||Added a help file for all command (and describing a workflow using quilt)
Fixed a bug in QuiltStatus, raising error on vim startup
||" * Changed :exe into system() with return value check
" * Added QuiltStatus as an autocommand for file reading
" * Added QuiltRefresh warning parsing, create a quickfix using cexpr
" * Added QuiltFiles command
" * Fixed some bugs
" * Suppressed verbose output for QuiltAdd
" * Suppressed verbose output for QuiltRefresh
" * Suppressed verbose output for QuiltRemove
||* Added the ! argument for Pop,Push,Refresh
* Added the QuiltMoveTo/QuiltFinishMove command
* Spellchecked the Changelog ;)
* Fixed the QuiltRefresh bug
* Fixed QuiltAdd definition bug
* Added QuiltGoTo[!] (Push/Pop)
* Added QuiltSetup[!]
* Make this file 80 characters terminal friendly
* Added QuiltNew command
* Added QuiltDelete[!]
* Fixed a whole bunch of bugs ... (thanks to #vim IRC channel )
|| * add QuiltRefresh, QuiltPush, QuiltPop commands
* add QuiltAdd, QuiltRemove
* check if the current directory is a quilt directory
* add parameters for Refresh, Add, Pop, Add ...
* add patch completion
* add in patch files completion