Closed loewenheim closed 3 years ago
It could be nice to have a command to get a buffer content.
Kakoune has a -buffer
switch to evaluate-commands
and execute-keys
.
We could add a context for buffers and use the write
command to pipe to a fifo.
In a connected terminal, you can now do kcr cat --raw
to get the content of the current buffer, or explicitly pass a buffer list to get their content.
bat
has a problem with file paths containing~
, at least when they're quoted as in thekcr-fzf-buffers
script. This results in the problem in the attached screenshot.