Skip to content

Instantly share code, notes, and snippets.

View ptytb's full-sized avatar

Ilya Pronin ptytb

View GitHub Profile
@ptytb
ptytb / ConEmu_fzf.md
Last active November 27, 2020 11:52
ConEmu/Clink + fzf

ConEmu/Clink and fzf integration

Install fzf:

choco install fzf

Add following line to %conemubasedir%\clink\profile\clink_inputrc:

C-r: "\C-e \C-u @set \"MY_CLINK_LAST=\C-y\"\C-j @for /f \"usebackq tokens=1 delims=\" %i in (`type \"%conemubasedir%\\clink\\profile\\.history\" ^| fzf --tac --prompt \"Choose history: \" --no-sort -0 -1 --query=\"\C-y\C-h\"`) do @set \"MY_CLINK_LAST=%i \"\C-j%MY_CLINK_LAST%\M-\C-e\C-h"
@echo off
rem Listen on SoundCloud: https://soundcloud.com/xca8biolusw4/sets/seti-space-noise-mapped-to-audio
rem ImageMagick command
convert aliens.gif -type truecolor img/xx_%%05d.bmp
set MIN=100
set MAX=6000
set PIXELS_PER_SECOND=50