fish/functions/fzf-fish.fish @ 0364a90a77fc
Fix editor.py to work with wee-slacks multiline support
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 26 Nov 2018 11:39:35 -0500 |
parents |
c3167738abd5 |
children |
(none) |
function fzf-fish
set -q FZF_FIND_FILE_COMMAND
or set -l FZF_FIND_FILE_COMMAND "ffind --semi-restricted --depth=15 --follow"
fish -c "$FZF_FIND_FILE_COMMAND" | fzf -m --height 15 | read -l selects
and commandline -i "\"$selects\""
commandline -f repaint
end
# https://github.com/fisherman/fzf/blob/master/key_bindings.fish