mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 12:55:17 +00:00
Update README
This commit is contained in:
parent
7ee6fd1f6d
commit
e09993f919
18
README.md
18
README.md
@ -183,8 +183,8 @@ fkill() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Key bindings
|
Key bindings for command line
|
||||||
------------
|
-----------------------------
|
||||||
|
|
||||||
The install script will add the following key bindings to your configuration
|
The install script will add the following key bindings to your configuration
|
||||||
files.
|
files.
|
||||||
@ -360,6 +360,20 @@ when it's running on Ruby 1.8. If you experience the problem, upgrade your Ruby
|
|||||||
to 1.9 or above. Ruby 1.9 or above is also required for displaying Unicode
|
to 1.9 or above. Ruby 1.9 or above is also required for displaying Unicode
|
||||||
characters.
|
characters.
|
||||||
|
|
||||||
|
### Ranking algorithm
|
||||||
|
|
||||||
|
fzf sorts the result first by the length of the matched substring, then by the
|
||||||
|
length of the whole string. However it only does so when the number of matches
|
||||||
|
is less than the limit which is by default 1000, in order to avoid the cost of
|
||||||
|
sorting a large list and limit the response time of the query.
|
||||||
|
|
||||||
|
This limit can be adjusted with `-s` option, or with the environment variable
|
||||||
|
`FZF_DEFAULT_SORT`.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export FZF_DEFAULT_SORT=10000
|
||||||
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user