README update

main
bhagwan 3 years ago
parent b462ba2cc6
commit cd0cb50717

@ -151,6 +151,8 @@ vim.api.nvim_set_keymap('n', '<c-P>',
| `grep_curbuf` | live grep current buffer |
| `live_grep` | live grep current project |
| `live_grep_resume` | live grep continue last search |
| `live_grep_glob` | live_grep with `rg --glob` support |
| `live_grep_native` | performant version of `live_grep` |
### Git
@ -367,6 +369,13 @@ require'fzf-lua'.setup {
git_icons = true, -- show git icons?
file_icons = true, -- show file icons?
color_icons = true, -- colorize file|git icons
-- if 'cmd' is not specified, 'files' priortizes 'fd' over 'find'
-- 'fd_opts' if using 'fd', 'find_opts' if using 'find'
-- NOTE: 'find -printf' requires GNU find
find_opts = [[-type f -not -path '*/\.git/*' -printf '%P\n']],
fd_opts =
[[--color never --type f --hidden --follow ]] ..
[[--exclude .git --exclude node_modules --exclude '*.pyc']],
actions = {
-- set bind to 'false' to disable
["default"] = actions.file_edit,

@ -176,6 +176,8 @@ SEARCH *fzf-lua-search*
| `grep_curbuf` | live grep current buffer |
| `live_grep` | live grep current project |
| `live_grep_resume` | live grep continue last search |
| `live_grep_glob` | live_grep with `rg --glob|--iglob` support |
| `live_grep_native` | performant version of `live_grep` |
GIT *fzf-lua-git*
@ -401,6 +403,13 @@ Consult the list below for available settings:
git_icons = true, -- show git icons?
file_icons = true, -- show file icons?
color_icons = true, -- colorize file|git icons
-- if 'cmd' is not specified, 'files' priortizes 'fd' over 'find'
-- 'fd_opts' if using 'fd', 'find_opts' if using 'find'
-- NOTE: 'find -printf' requires GNU find
find_opts = [[-type f -not -path '*/\.git/*' -printf '%P\n']],
fd_opts =
[[--color never --type f --hidden --follow ]] ..
[[--exclude .git --exclude node_modules --exclude '*.pyc']],
actions = {
-- set bind to 'false' to disable
["default"] = actions.file_edit,

Loading…
Cancel
Save