parent
1ad3b87302
commit
a61b6d7649
1
test/regression/2737-segfault-on-WinDisplay-hook/cmd
Normal file
1
test/regression/2737-segfault-on-WinDisplay-hook/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
:e foo<ret>
|
1
test/regression/2737-segfault-on-WinDisplay-hook/in
Normal file
1
test/regression/2737-segfault-on-WinDisplay-hook/in
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
test/regression/2737-segfault-on-WinDisplay-hook/out
Normal file
1
test/regression/2737-segfault-on-WinDisplay-hook/out
Normal file
|
@ -0,0 +1 @@
|
|||
|
9
test/regression/2737-segfault-on-WinDisplay-hook/rc
Normal file
9
test/regression/2737-segfault-on-WinDisplay-hook/rc
Normal file
|
@ -0,0 +1,9 @@
|
|||
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>'"
|
||||
}}
|
Loading…
Reference in New Issue
Block a user