1
0
Fork 0

formatting

This commit is contained in:
Andrey Orst 2019-04-08 11:31:50 +03:00
parent c604547c09
commit 5b2b21b8d3

View file

@ -13,12 +13,10 @@
try %{ declare-user-mode fzf }
# this will fail if yank-ring.kak isn't installed
hook global -once WinCreate .* %{
try %{
set-option -add global yank_ring_history
map global fzf -docstring "open yank-ring" 'y' '<esc>: fzf-yank-ring<ret>'
}
}
hook global -once WinCreate .* %{ try %{
set-option -add global yank_ring_history
map global fzf -docstring "open yank-ring" 'y' '<esc>: fzf-yank-ring<ret>'
}}
define-command -hidden fzf-yank-ring %{ evaluate-commands %sh{
yanks=$(mktemp ${TMPDIR:-/tmp}/kak-fzf-yanks.XXXXXX)