mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
a61b6d7649
Fixes #2737
10 lines
422 B
Plaintext
10 lines
422 B
Plaintext
hook global WinDisplay .* %{ evaluate-commands %sh{
|
|
tmp=$(mktemp -d)
|
|
fifo="${tmp}/fifo"
|
|
mkfifo $fifo
|
|
printf "%s\n" "try %{ delete-buffer *test* }
|
|
edit! -fifo ${fifo} *test*
|
|
try %{ hook -always global KakEnd .* %{ nop %sh{ rm -rf ${tmp} } } }
|
|
map buffer normal '<ret>' '<a-h>;/:<c-v><c-i><ret><a-h>2<s-l><a-l>:<space>test-jump $kak_bufname<ret>'"
|
|
}}
|