We have s[regex]<ret>
, but not s<a-i>[object]
.
Add the following mapping to your kakrc and try s<a-i>w
to select all words.
map -docstring 'Split object' global prompt <a-i> '<esc>: enter-user-mode split-object<ret>'
You need split-object.kak to have it working.
I previously had it mapped on <a-I>
from the normal mode, but it feels more satisfying to have it on the s
prompt.
Got the idea from @gustavo-hms on his recent post.
3 Likes
Cool! I always find impressive how fast you all can extract useful things from what we say here
1 Like