add final newline
This commit is contained in:
parent
8cf3374e08
commit
6b49595ffc
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ map global fzf -docstring "open buffer" 'b' '<esc>: fzf-buffer<ret>'
|
|||
|
||||
define-command -hidden fzf-buffer %{ evaluate-commands %sh{
|
||||
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\"}"
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue