diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2018-11-09 08:50:16 +0100 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2018-11-09 16:50:16 +0900 |
commit | d4ed955aee08a1c2ceb64e562ab4a88bdc9af8f0 (patch) | |
tree | 2a90f3e97a4878d95fb1c65b4d518400aab6ac48 /README.md | |
parent | b46227dcb6f1718d66ad828443d9f03a4bd58c4c (diff) |
Typo & grammar fixes in README (#1413)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -127,10 +127,10 @@ But instead of separately installing fzf on your system (using Homebrew or vim-plug to do both. ```vim -" PlugInstall and PlugUpdate will clone fzf in ~/.fzf and run install script +" PlugInstall and PlugUpdate will clone fzf in ~/.fzf and run the install script Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " Both options are optional. You don't have to install fzf in ~/.fzf - " and you don't have to run install script if you use fzf only in Vim. + " and you don't have to run the install script if you use fzf only in Vim. ``` ### Arch Linux @@ -312,16 +312,16 @@ fullscreen mode. fzf --height 40% ``` -Key bindings for command line +Key bindings for command-line ----------------------------- The install script will setup the following key bindings for bash, zsh, and fish. -- `CTRL-T` - Paste the selected files and directories onto the command line +- `CTRL-T` - Paste the selected files and directories onto the command-line - Set `FZF_CTRL_T_COMMAND` to override the default command - Set `FZF_CTRL_T_OPTS` to pass additional options -- `CTRL-R` - Paste the selected command from history onto the command line +- `CTRL-R` - Paste the selected command from history onto the command-line - If you want to see the commands in chronological order, press `CTRL-R` again which toggles sorting by relevance - Set `FZF_CTRL_R_OPTS` to pass additional options @@ -373,7 +373,7 @@ cd ~/github/fzf**<TAB> #### Process IDs -Fuzzy completion for PIDs is provided for kill command. In this case +Fuzzy completion for PIDs is provided for kill command. In this case, there is no trigger sequence, just press tab key after kill command. ```sh @@ -426,7 +426,7 @@ _fzf_compgen_dir() { On bash, fuzzy completion is enabled only for a predefined set of commands (`complete | grep _fzf` to see the list). But you can enable it for other -commands as well like follows. +commands as well as follows. ```sh complete -F _fzf_path_completion -o default -o bashdefault ag @@ -443,7 +443,7 @@ Advanced topics ### Performance -fzf is fast, and is [getting even faster][perf]. Performance should not be +fzf is fast and is [getting even faster][perf]. Performance should not be a problem in most use cases. However, you might want to be aware of the options that affect the performance. @@ -454,7 +454,7 @@ options that affect the performance. - `--with-nth` makes fzf slower as fzf has to tokenize and reassemble each line. - If you absolutely need better performance, you can consider using - `--algo=v1` (the default being `v2`) to make fzf use faster greedy + `--algo=v1` (the default being `v2`) to make fzf use a faster greedy algorithm. However, this algorithm is not guaranteed to find the optimal ordering of the matches and is not recommended. @@ -475,7 +475,7 @@ See *KEY BINDINGS* section of the man page for details. ### Preview window -When `--preview` option is set, fzf automatically starts external process with +When `--preview` option is set, fzf automatically starts an external process with the current line as the argument and shows the result in the split window. ```bash @@ -483,7 +483,7 @@ the current line as the argument and shows the result in the split window. fzf --preview 'cat {}' ``` -Since preview window is updated only after the process is complete, it's +Since the preview window is updated only after the process is complete, it's important that the command finishes quickly. ```bash @@ -582,9 +582,9 @@ fzf -m | while read -l r; set result $result $r; end; and vim $result ``` The globbing system is different in fish and thus `**` completion will not work. -However, the `CTRL-T` command will use the last token on the commandline as the +However, the `CTRL-T` command will use the last token on the command-line as the root folder for the recursive search. For instance, hitting `CTRL-T` at the end -of the following commandline +of the following command-line ```sh ls /var/ |