Remove unused fuzzy finding function

This commit is contained in:
Marty Oehme 2019-06-26 21:20:40 +02:00
parent 368032a73c
commit b1cb9ceef9

View file

@ -1,14 +1,5 @@
#!/bin/sh #!/bin/sh
sk-with-binds() {
sk --ansi --color=dark --border \
--preview-window=":hidden" \
--preview='head -$LINES {}' \
--bind='ctrl-y:execute-silent(echo {} | xclip -selection "clipboard"),ctrl-x:toggle-preview' \
--header='[ctrl-y]:yank current item [ctrl-x]:toggle preview window' \
"$@"
}
# check for existence of fuzzy finders. If found, substitute fzf with it. # check for existence of fuzzy finders. If found, substitute fzf with it.
# order is skim > fzy > fzf > nothing # order is skim > fzy > fzf > nothing
if type sk >/dev/null 2>&1; then if type sk >/dev/null 2>&1; then