Improve vimfiler#get_histories()