{"author_name":"Rusky","cat":"LD #29","comments":[],"epoch":1398531300,"likes":1,"metadata":{"p_key":"31729","p_author":"Rusky","p_authorkey":"7817","p_urlkey":"67224","p_title":"Vim and simplescreenrecorder","p_cat":"LD #29","p_event":"LD29","p_time":"1398531300","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"7817","us_name":"Rusky","us_username":"rusky","event_start":"1398384000","event_key":"22","event_name":"LD29"},"text":"<p>So, I just spent 10 minutes figuring out why I couldn&#8217;t redo in Vim. Ctrl+R just blinked the cursor, and I didn&#8217;t even notice for a bit until my game started acting odd. So, I looked in the Vim docs and found out that in Vi, Ctrl+R is &#8220;redraw&#8221;. I figured I was getting that behavior, because of the cursor blink, but setting nocompatible did nothing (and it was already set anyway). Restarting the editor also did nothing, nor did vim -u NONE, which skips loading all config files and uses the defaults.<\/p>\n <p>I hopped on #vim and tried a few things with mapping, but still no luck. Someone suggested the terminal emulator was eating Ctrl+R, but I wasn&#8217;t in the terminal (although it did happen there as well). However, I could redo on another tty. At this point I assumed it was GNOME&#8217;s fault (I had updated recently), but Google had nothing about GNOME using Ctrl+R&#8230;<\/p>\n <p>Suddenly, out of the corner of my eye, I noticed simplescreenrecorder had a checkbox marked &#8220;Enable recording hotkey&#8221;.\u00a0 And guess what the hotkey was set to? That&#8217;s right. All my attempts to redo in Vim were toggling my live stream on and off while I flailed around trying to redo something in my editor.<\/p>\n <p>On the plus side, I&#8217;ve got a good platforming mechanic down with some character animation and a level editor:<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/ld29-1.png\"><img class=\"alignnone size-medium wp-image-346814\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/ld29-1-300x225.png\" alt=\"ld29-1\" width=\"300\" height=\"225\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/ld29-1-300x225.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/ld29-1-550x412.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2014\/04\/ld29-1.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>","time":"April 26th, 2014 11:55 am","title":"Vim and simplescreenrecorder"}