Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A while ago I saw a cool animation of an explanation to do something in Vim. I would like to be able to do that by taking a screenshot of the Vim window every time I press a key (automatically), does anyone know a tool that would allow me to do that in Linux?

share|improve this question
1  
Just to confirm as well, you are aware no matter the speed you type at if this is meant to be a video you will get the same 30 fps? –  AthomSfere Oct 16 '13 at 14:04
3  
If you do not care for independence on where you put it, asciinema seems to be the most efficient solution. –  Tim Oct 16 '13 at 14:09

4 Answers 4

Try the Replay Vim plugin. It supports byzanz and ffmpeg for recording your Vim session.

share|improve this answer

You can use Kazam or another tool to record the video and convert it to animated GIF with these commands. The first one creates a very large animated GIF and the second makes it more internet-friendly:

$ ffmpeg -i source.mp4 -loop 0 -r 5 -s 320x200 -pix_fmt rgb24 temp.gif
$ convert temp.gif -fuzz 8% -layers Optimize final.gif

I was about to suggest ascii.io as a worthy alternative but they have renamed their service to asciinema which was already cited.

share|improve this answer

It seems that the easiest way to create something like that would be to use screen recording software. Some apparently offer built in GIF support and others will give you a movie that you can then convert to animated GIF.

Here are some additional questions that will be of use:

http://askubuntu.com/questions/4428/how-to-create-a-screencast

http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast

In short, looks like Byzanz will do what you want.

share|improve this answer

It seems that what you're looking is a software that records the terminal sessions, not the whole screen (or window). UNIX operating systems have this good old app called script. It does terminal recording but you need to send the resulting file to people and ask them to use the scriptreplay command in their terminal to replay it.

The easier solution is to use a service like http://asciinema.org which allows you to record a terminal session and publish it to asciinema.org where other people can watch it in their browser. Also, it supports embedding so you can put it on your blog post, your project documentation or in your conference talk slides.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.