0

Just like the title states. I've read through the readme at https://github.com/junegunn/fzf.vim but can't seem to see anything mention about this. I've even tried to search the repo for max which only returned 1 seemingly unrelated match.

The default seems to be 90 files which seems very small, specially when working with many projects.

By recent file history I mean the files that show up via :History.

2
  • Which command are you referring to exactly? I guess fzf only looks at an history stored somewhere and the configuration does lies with fzf but with vim itself.
    – statox
    Commented Jun 17, 2020 at 15:17
  • Have edited the question. Commented Jun 17, 2020 at 15:31

1 Answer 1

2

:History command operates on :oldfiles result which is stored in v:oldfiles variable that is loaded from viminfo.

You can change it by changing viminfo, there might be better approach, but anyways:

  1. the value to adjust is '100 (default)
  2. check current value with :set viminfo (mine is: '100,<50,s10,h,rA:,rB:)
  3. change '100 to whatever you want, for example 200: :set viminfo='200,<50,s10,h,rA:,rB:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.