documentation: document how to set fzf preview colors
Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
1b605a3c81
commit
386f36380b
13
README.md
13
README.md
|
@ -49,6 +49,19 @@ nvim
|
||||||
:PlugInstall
|
:PlugInstall
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## External configuration
|
||||||
|
|
||||||
|
In order to improve the `fzf` preview window display, it's possible to
|
||||||
|
configure it through the following `env` variable:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export FZF_DEFAULT_OPTS="--preview='bat --style=numbers --color=always --line-range :500 {}' \
|
||||||
|
--border \
|
||||||
|
--color 'border:#4c566a,info:#4c566a,pointer:#88c0d0,prompt:#5e81ac,bg+:#3b4252,hl:#a3be8c'"
|
||||||
|
```
|
||||||
|
|
||||||
|
See the `fzf` documentation: <https://github.com/junegunn/fzf#preview-window>
|
||||||
|
|
||||||
[1]: https://github.com/junegunn/vim-plug
|
[1]: https://github.com/junegunn/vim-plug
|
||||||
[2]: https://github.com/BurntSushi/ripgrep
|
[2]: https://github.com/BurntSushi/ripgrep
|
||||||
[3]: https://github.com/ggreer/the_silver_searcher
|
[3]: https://github.com/ggreer/the_silver_searcher
|
||||||
|
|
Loading…
Reference in New Issue