Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "In buffer name completion, give priority to filename (not dir…
…name) matches" Buffer completions prefer matched file names over anything else. For example kak -e 'e .git/rebase-merge/git-rebase-todo; edit -scratch *grep*; buffer *scratch*; exec ":b gre"' shows .git/rebase-merge/git-rebase-todo before *grep* because the basename ("git-rebase-todo") matches the query ("gre"). This works really well 90% of the time. However, there are exceptions like the example above. Maybe the new fuzzy matching is good enough to be an overall improvement. Let's try to remove the special treatement of file names for now. This commit is experimental, I'll probably drop it.
- Loading branch information