Makes fzf full height and aligns the help header
This commit is contained in:
parent
828e21e328
commit
90cef0d7c0
1 changed files with 3 additions and 5 deletions
8
kb
8
kb
|
@ -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 {}"')"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue