kakoune

Fork of kakoune, an acceptable text editor
git clone git://git.laack.co/kakoune.git
Log | Files | Refs

rc (422B)


      1 hook global WinDisplay .* %{ evaluate-commands %sh{
      2     tmp=$(mktemp -d)
      3     fifo="${tmp}/fifo"
      4     mkfifo $fifo
      5     printf "%s\n" "try %{ delete-buffer *test* }
      6                    edit! -fifo ${fifo} *test*
      7                    try %{ hook -always global KakEnd .* %{ nop %sh{ rm -rf ${tmp} } } }
      8                    map buffer normal '<ret>' '<a-h>;/:<c-v><c-i><ret><a-h>2<s-l><a-l>:<space>test-jump $kak_bufname<ret>'"
      9 }}