Typo & grammar fixes in README (#1413)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Christian Muehlhaeuser · committed by Junegunn Choi · parent b46227d · Browse files · 1 file·+13 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+13 added−13 removed
- other:+13 added−13 removed
Provenance
- Commit
d4ed955- Tree
2a90f3e- Author
Christian Muehlhaeuser <muesli@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
b46227d
1 file changed+13 added−13 removed
modified:README.md+13 added-13 removed
125 unmodified lines126 "git clone") and enabling it on Vim (adding it to `&runtimepath`), you can use127 vim-plug to do both.128 129 ```vim130-" PlugInstall and PlugUpdate will clone fzf in ~/.fzf and run install script130+" PlugInstall and PlugUpdate will clone fzf in ~/.fzf and run the install script131 Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }132 " Both options are optional. You don't have to install fzf in ~/.fzf133- " and you don't have to run install script if you use fzf only in Vim.133+ " and you don't have to run the install script if you use fzf only in Vim.134 ```135 136 ### Arch Linux137 173 unmodified lines311 ```sh312 fzf --height 40%313 ```314 315-Key bindings for command line315+Key bindings for command-line316 -----------------------------317 318 The install script will setup the following key bindings for bash, zsh, and319 fish.320 321-- `CTRL-T` - Paste the selected files and directories onto the command line321+- `CTRL-T` - Paste the selected files and directories onto the command-line322 - Set `FZF_CTRL_T_COMMAND` to override the default command323 - Set `FZF_CTRL_T_OPTS` to pass additional options324-- `CTRL-R` - Paste the selected command from history onto the command line324+- `CTRL-R` - Paste the selected command from history onto the command-line325 - If you want to see the commands in chronological order, press `CTRL-R`326 again which toggles sorting by relevance327 - Set `FZF_CTRL_R_OPTS` to pass additional options328 - `ALT-C` - cd into the selected directory43 unmodified lines372 ```373 374 #### Process IDs375 376-Fuzzy completion for PIDs is provided for kill command. In this case376+Fuzzy completion for PIDs is provided for kill command. In this case,377 there is no trigger sequence, just press tab key after kill command.378 379 ```sh380 # Can select multiple processes with <TAB> or <Shift-TAB> keys44 unmodified lines425 #### Supported commands426 427 On bash, fuzzy completion is enabled only for a predefined set of commands428 (`complete | grep _fzf` to see the list). But you can enable it for other429-commands as well like follows.429+commands as well as follows.430 431 ```sh432 complete -F _fzf_path_completion -o default -o bashdefault ag433 complete -F _fzf_dir_completion -o default -o bashdefault tree8 unmodified lines442 ---------------443 444 ### Performance445 446-fzf is fast, and is [getting even faster][perf]. Performance should not be446+fzf is fast and is [getting even faster][perf]. Performance should not be447 a problem in most use cases. However, you might want to be aware of the448 options that affect the performance.449 450 - `--ansi` tells fzf to extract and parse ANSI color codes in the input and it2 unmodified lines453 - `--nth` makes fzf slower as fzf has to tokenize each line.454 - `--with-nth` makes fzf slower as fzf has to tokenize and reassemble each455 line.456 - If you absolutely need better performance, you can consider using457- `--algo=v1` (the default being `v2`) to make fzf use faster greedy457+ `--algo=v1` (the default being `v2`) to make fzf use a faster greedy458 algorithm. However, this algorithm is not guaranteed to find the optimal459 ordering of the matches and is not recommended.460 461 [perf]: https://junegunn.kr/images/fzf-0.17.0.png12 unmodified lines474 See *KEY BINDINGS* section of the man page for details.475 476 ### Preview window477 478-When `--preview` option is set, fzf automatically starts external process with478+When `--preview` option is set, fzf automatically starts an external process with479 the current line as the argument and shows the result in the split window.480 481 ```bash482 # {} is replaced to the single-quoted string of the focused line483 fzf --preview 'cat {}'484 ```485 486-Since preview window is updated only after the process is complete, it's486+Since the preview window is updated only after the process is complete, it's487 important that the command finishes quickly.488 489 ```bash490 # Use head instead of cat so that the command doesn't take too long to finish90 unmodified lines581 fzf -m | while read -l r; set result $result $r; end; and vim $result582 ```583 584 The globbing system is different in fish and thus `**` completion will not work.585-However, the `CTRL-T` command will use the last token on the commandline as the585+However, the `CTRL-T` command will use the last token on the command-line as the586 root folder for the recursive search. For instance, hitting `CTRL-T` at the end587-of the following commandline587+of the following command-line588 589 ```sh590 ls /var/591 ```22 unmodified lines