mitxela / git-animate

94 stars 9 forks source link

Not working #6

Open samerkassem82 opened 3 months ago

samerkassem82 commented 3 months ago

I have followed your steps, It created the "pathches.txt"

But when I run in terminal: "python playback.py patches.tx"

It just opens an empty VIM inside the same terminal and nothing happens.

patches.tx looks like so

image

It is not clear in your Readme whether the whole "replay" shall run in the VIM INSIDE the terminal or in the VIM application. In your video it looks like it's running in your VIM editor because it's all colored, but I am not sure.

Maybe a video on its usage would be helpful? Thanks

mitxela commented 3 months ago

I use vim inside the terminal, if you want to use it with an external vim just remove the line that launches vim (line 22 of playback.py) and open a new vim instance yourself, then focus on it after launching the script.

The keyboard emulation stuff is very platform specific so you might want to test that's working, although if it was able to launch vim then it must be doing something. Not sure what else I can suggest without more info.

samerkassem82 commented 3 months ago

Hmm, it just writes this into the vim instance.

image

Maybe my git commits are not enough? I dunno...