README: added 'delta' pager as optional dependency

main
bhagwan 3 years ago
parent 956a092e55
commit c1485800d7

@ -47,21 +47,22 @@ at it. That, **and colorful file icons and git indicators!**.
## Dependencies ## Dependencies
- `Linux` or `MacOS` only, see [nvim-fzf's How it - `Linux` or `MacOS`
works](https://github.com/vijaymarupudi/nvim-fzf#How-it-works) - [`neovim`](https://github.com/neovim/neovim/releases) version > 0.5.0
- [`fzf`](https://github.com/junegunn/fzf) or - [`fzf`](https://github.com/junegunn/fzf) or
[`skim`](https://github.com/lotabout/skim) binary installed [`skim`](https://github.com/lotabout/skim) binary installed
- [nvim-fzf](https://github.com/vijaymarupudi/nvim-fzf) - [nvim-fzf](https://github.com/vijaymarupudi/nvim-fzf)
- [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) - [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons)
(optional) (optional)
### Optional dependencies ### Optional dependencies (recommended)
Recommended optional utilities: - [fd](https://github.com/sharkdp/fd) - better `find` utility
- [rg](https://github.com/BurntSushi/ripgrep) - better `grep` utility
- [fd](https://github.com/sharkdp/fd) - better performance `find` utility - [bat](https://github.com/sharkdp/bat) - syntax highlighted previews when
- [bat](https://github.com/sharkdp/bat) - for colorful syntax highlighted previews using fzf's native previewer
- [ripgrep](https://github.com/BurntSushi/ripgrep) - for better grep-like searches - [delta](https://github.com/dandavison/delta) - syntax highlighted git pager
for git status previews
## Installation ## Installation
@ -349,6 +350,7 @@ require'fzf-lua'.setup {
git_diff = { git_diff = {
cmd = "git diff", cmd = "git diff",
args = "--color", args = "--color",
-- pager = "delta", -- if you have `delta` installed
}, },
man = { man = {
cmd = "man -c %s | col -bx", cmd = "man -c %s | col -bx",

@ -59,8 +59,8 @@ throw at it. That, and colorful file icons and git indicators!.
DEPENDENCIES *fzf-lua-dependencies* DEPENDENCIES *fzf-lua-dependencies*
- `Linux` or `MacOS` only, see nvim-fzf's How it - `Linux` or `MacOS`
works <https://github.com/vijaymarupudi/nvim-fzf#How-it-works> - `neovim` <https://github.com/neovim/neovim/releases> version > 0.5.0
- `fzf` <https://github.com/junegunn/fzf> or - `fzf` <https://github.com/junegunn/fzf> or
`skim` <https://github.com/lotabout/skim> binary installed `skim` <https://github.com/lotabout/skim> binary installed
- nvim-fzf <https://github.com/vijaymarupudi/nvim-fzf> - nvim-fzf <https://github.com/vijaymarupudi/nvim-fzf>
@ -68,13 +68,14 @@ DEPENDENCIES *fzf-lua-dependencies*
(optional) (optional)
OPTIONAL DEPENDENCIES *fzf-lua-optional-dependencies* OPTIONAL DEPENDENCIES (RECOMMENDED)*fzf-lua-optional-dependencies-(recommended)*
Recommended optional utilities: - fd <https://github.com/sharkdp/fd> - better `find` utility
- rg <https://github.com/BurntSushi/ripgrep> - better `grep` utility
- fd <https://github.com/sharkdp/fd> - better performance `find` utility - bat <https://github.com/sharkdp/bat> - syntax highlighted previews when
- bat <https://github.com/sharkdp/bat> - for colorful syntax highlighted previews using fzf's native previewer
- ripgrep <https://github.com/BurntSushi/ripgrep> - for better grep-like searches - delta <https://github.com/dandavison/delta> - syntax highlighted git pager
for git status previews
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
INSTALLATION *fzf-lua-installation* INSTALLATION *fzf-lua-installation*
@ -383,6 +384,7 @@ Consult the list below for available settings:
git_diff = { git_diff = {
cmd = "git diff", cmd = "git diff",
args = "--color", args = "--color",
-- pager = "delta", -- if you have `delta` installed
}, },
man = { man = {
cmd = "man -c %s | col -bx", cmd = "man -c %s | col -bx",

Loading…
Cancel
Save