|
|
|
@ -245,16 +245,14 @@ fuzzySelect(){ |
|
|
|
|
local output |
|
|
|
|
local header="$(echo -e "Type to filter |
|
|
|
|
|
|
|
|
|
${YELLOW}ctrl+n $WHITE create new |
|
|
|
|
${YELLOW}ctrl+v $WHITE view selected |
|
|
|
|
${YELLOW}ctrl+e $WHITE edit selected |
|
|
|
|
${YELLOW}ctrl+d $WHITE delete selected |
|
|
|
|
${YELLOW}ctrl+n $WHITE create new ${YELLOW}ctrl+v $WHITE view selected |
|
|
|
|
${YELLOW}ctrl+e $WHITE edit selected ${YELLOW}ctrl+d $WHITE delete selected |
|
|
|
|
")" |
|
|
|
|
export -f fzfPreview |
|
|
|
|
export dataDir |
|
|
|
|
output="$(listEntries | |
|
|
|
|
fzf --header="$header" --header-lines=2 --print-query \ |
|
|
|
|
--delimiter=" +" --with-nth=3,5 \ |
|
|
|
|
--delimiter=" +" --with-nth=3,5 --height=100% \ |
|
|
|
|
--expect="ctrl-n,ctrl-o,ctrl-e,ctrl-d" \ |
|
|
|
|
--preview='bash -c "fzfPreview {}"')" |
|
|
|
|
|
|
|
|
|