1
0
Fork 0

add final newline

This commit is contained in:
Andrey Orst 2018-11-27 08:07:26 +03:00
parent 8cf3374e08
commit 6b49595ffc

View file

@ -12,6 +12,6 @@ map global fzf -docstring "open buffer" 'b' '<esc>: fzf-buffer<ret>'
define-command -hidden fzf-buffer %{ evaluate-commands %sh{ define-command -hidden fzf-buffer %{ evaluate-commands %sh{
printf "%s\n" "info -title %{fzf buffer} %{Set buffer to edit in current client.}" printf "%s\n" "info -title %{fzf buffer} %{Set buffer to edit in current client.}"
buffers=$(printf "%s\n" "$kak_buflist" | sed "s/^'//;s/'$//;s/' '/\n/g") buffers=$(printf "%s\n" "$kak_buflist" | sed "s/^'//;s/'$/\n/;s/' '/\n/g")
printf "%s\n" "fzf %{buffer} %{printf \"%s\n\" \"$buffers\"}" printf "%s\n" "fzf %{buffer} %{printf \"%s\n\" \"$buffers\"}"
}} }}