Fzf: Optionally disable number line

Created on 19 Apr 2015  路  6Comments  路  Source: junegunn/fzf

Personally I find that I almost never look at the line containing the number of items fzf is searching and the number currently matched (and occasionally the spinner), especially when I'm using fzf with vim/nvim. It would be nice to be able to optionally disable printing this and save a line, which on smaller screens can make a difference. Could an option like --no-info be implemented?

feature

Most helpful comment

agreed, @junegunn has an impressive history of listening to suggestions and improving them. great work as always

All 6 comments

Thanks for the suggestion. But I don't think saving a line would make a big difference and would rather not add yet another option which I don't think will be widely popular. You can easily increase the height of :FZF split with g:fzf_height (default: 40%) or you can just use :FZF! on smaller screens. Also, since the info line shows the number of selected items when --multi option is set or if sorting is enabled when --toggle-sort option is used, it can be confusing to completely hide it. Instead I tried placing the numbers after the query on the last line, but I didn't like how it moves along as I type in more characters.

Added --inline-info option, will be released with 0.9.11.

if has('nvim')
  let $FZF_DEFAULT_OPTS .= ' --inline-info'
endif

@junegunn
Just chiming in to say I like the new --inline-info UI a lot.

agreed, @junegunn has an impressive history of listening to suggestions and improving them. great work as always

Thanks, I wasn't perfectly sure if it looks okay (colors, separator, ...). Glad to hear that you like it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olethanh picture olethanh  路  3Comments

fenuks picture fenuks  路  3Comments

natemara picture natemara  路  3Comments

aleclarson picture aleclarson  路  3Comments

sassanh picture sassanh  路  3Comments