vim-fuzzbox/fuzzbox.vim

Feature request: Sort FuzzyBuffers by last access

Closed this issue · 3 comments

It would be nice if there was an option to list buffers by most recent access instead of name.

This feature is added in the latest commit.

This doesn't seem to work for me. Order always seems to be the same.

It works fine for me what I change the sorting function in the following way:

        return buf_dict[a][3] == buf_dict[b][3] ? 0 :
               buf_dict[a][3] <  buf_dict[b][3] ? 1 : -1