The post explains how the author managed to play the 'Bad Apple' video inside vim using 6,500 regex search queries. By breaking down video frames into 120x90 PNG images and converting them into binary arrays, the author utilized Python to process these images. To display each frame, vim's regex search capabilities were leveraged, creating a highlight-based animation that runs inside vim. Despite some challenges, this creative approach enabled a unique and entertaining use of vim.
Table of contents
Bad Apple but it's 6,500 regexes that I search for in vimWait, sorry, what is Bad AppleGetting the framesDrawing in vimFrames into rectanglesWait, so how do you actually run this inside vimWrapping up2 Comments
Sort: