sponsor Vim development Vim logo Vim Book Ad

Replay.vim : Record and Replay your editing Session

 script karma  Rating 17/8, Downloaded by 2856  Comments, bugs, improvements  Vim wiki

created by
Christian Brabandt
 
script type
utility
 
description
Feedback is welcome. Please rate this plugin, if you like it.

This plugin does not cope with recording and replaying macros, rather it steps though your undo tree so you can see,
what changes have been done, since starting editing. It also allows to simply screen record a Vim session using ffmpeg/avconv so you can easily share with others how to work with Vim.

Use :StartRecording "tag" to start recording from the current change on and save it under the name "tag"
Use :StopRecording "tag" to let the Recording for "tag" end at this change.
Use :Replay "tag" to Replay your changes.

You can usually leave tagname out and Replay.vim will record your changes under the name "Default".
See :h Replay.txt to read the help

This Plugin is also available at github: http://github.com/chrisbra/Replay
 
install details
as usual. Open the file in vim, and source it (:so %)
 

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
Replay-0.5.vmb 5 2013-08-14 7.3 Christian Brabandt - improvements for |:ScreenCapture| capture
(automatically uploaded)
Replay-0.4.vmb 4 2013-02-27 7.3 Christian Brabandt - disable folding
- enable to screenrecord the replay using ffmpeg/avconv (fixes https://github.com/chrisbra/Replay/issues/1, suggested by David Jacobs, thanks!)
(automatically uploaded)
Replay-0.3.vba 0.3 2010-08-27 7.2 Christian Brabandt - Automatically stopp Recording for latest started Recording session  (suggested by Salim Halim, thanks!)
- Changed recording of time to use localtime() instead of storing a string
- Better documentation for :ListRecordings
- ListRecordings now also displays the change number (so you can easily jump to a change using :undo)
Replay-0.2.vba 0.2 2010-08-24 7.2 Christian Brabandt -enabled |GLVS|
-small bugfixes
-changed default playback rate to 200ms
-make sure start is after stop
Replay-0.1.vba 0.1 2010-08-23 7.2 Christian Brabandt Initial upload
ip used for rating: 142.132.191.50

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