fzf.vim/autoload
Dani Hodovic 60aaf2624c [Buffers] Use reltimefloat(reltime()) instead of localtime() (#152)
* Nanoseconds instead of seconds for buffer timestmaps

Fzf :Buffers uses a dictionary where it stores the last time accessed of
the current buffers. This is used to sort the buffers.
The timestamp is retrieved from a call to localtime() which returns the
current second the buffer is accessed. However, fzf functions in such a
way that before it enters the newly selected buffer, it enters the
current buffer. Sometimes this causes the last two buffers to have the
same timestamp. Repeatedly switching between two buffers yields
inconsistent results.
This commit fixes the issue by using seconds and microseconds from the
bash call `date`. The buffers are now guaranteed to be sorted by last
accessed.

* Use reltime() instead of linux date

This solution is better for compatability reasons.

* Remove trailing whitespace
2016-06-07 21:58:52 +09:00
..
fzf [Buffers] Use reltimefloat(reltime()) instead of localtime() (#152) 2016-06-07 21:58:52 +09:00