mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-15 22:23:54 +03:00
5eef2b9105
Fixes #1227
11 lines
168 B
Plaintext
11 lines
168 B
Plaintext
decl str _
|
|
|
|
hook global BufCreate \*test\* %{
|
|
hook buffer BufSetOption _=.+ 'exec "i%opt{_}"'
|
|
}
|
|
|
|
def test %{
|
|
edit -scratch *test*
|
|
set buffer=*test* _ "k"
|
|
}
|