Commit Graph

98 Commits

Author SHA1 Message Date
bhagwan
d10b203408 removed deprecated 'files_resume' from README/help 2021-12-16 16:03:00 -08:00
bhagwan
1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2021-12-16 15:39:09 -08:00
bhagwan
d874e7705a added 'jumps', closes #264 2021-12-16 09:46:37 -08:00
bhagwan
f8b447dbbd remove 'nvim-fzf' depedency 2021-12-12 10:36:54 -08:00
bhagwan
d7cc460959 last commit broken if devicons not present (#247) 2021-12-12 00:43:38 -08:00
bhagwan
2d8a4e9afc major performance improvement: process entries externally, READ BELOW:
Since LUA is single threaded I reached a limit to performance
optimization, both 'git_icons' and 'file_icons' require string
matching and manipulations which eventually hurt performance
when running on large amount of files.
In order to solve that this commit introduces the option to spawn
commands and process the entries in a separate neovim process which
prints to stdio as if it was a regular shell command. This speeds up
things significantly and also makes the UI super responsive as if fzf
was run in the shell. This required a few lua hacks to be able to load
nvim-web-devicons in a '--headless --clean' instance and sharing the
user configuration through the RPC interface from the running instance.
This is enabled by default for 'files' and 'grep' providers and can also
be enabled for 'git.files' if required, control using the 'multiprocess'
option.
2021-12-11 23:10:28 -08:00
bhagwan
46c9e2bcd2 tags: optimized performance with the builtin previewer (#245) 2021-12-11 13:16:58 -08:00
bhagwan
05e22a4a61 performance optimizations, read below:
- do not spawn cmd with libuv unless 'file_icons' or 'git_icons' are set
- 'path.starts_with_separator' minor regex optimization
- 'files' cmd fallback order is now fd, **rg** and then find
- 'strip_cwd_prefix' enabled again (default: 'true')
- 'cwd' header line added to 'files' and 'git' providers
2021-12-07 06:56:37 -08:00
bhagwan
419a57a78f LSP: set 'async = false' on all but workspace/document symbols 2021-12-05 09:31:06 -08:00
bhagwan
39168eecb5 README: updated 'winopts.preview.delay' 2021-12-03 07:24:53 -08:00
bhagwan
1d6ea8d381 lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
fix help buffer syntax highlighting in blines|buffer preview
2021-12-02 09:19:20 -08:00
bhagwan
253b9413eb blines: set defaults 'show_unlisted = true', 'no_term_buffers = false' 2021-12-01 12:42:09 -08:00
bhagwan
ac342fcb3b 'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf' 2021-12-01 08:58:51 -08:00
bhagwan
fe4494446e expose builtin previewer window options (closes #218) 2021-11-19 17:13:19 -08:00
bhagwan
c1485800d7 README: added 'delta' pager as optional dependency 2021-11-18 19:40:12 -08:00
bhagwan
c7b75e13c6 README: default 'rg_opts' corrected (closes #216) 2021-11-18 18:36:32 -08:00
bhagwan
767b8f73c7 README: clarify file default action (#214) 2021-11-15 14:33:14 -08:00
bhagwan
cd0cb50717 README update 2021-11-13 10:36:05 -08:00
bhagwan
b462ba2cc6 added 'grep_project' command (shortcut to 'grep' with empty query) 2021-11-13 10:20:40 -08:00
bhagwan
120a097205 internal: export 'config' module 2021-10-31 12:40:12 -07:00
bhagwan
736b318575 missing comma in README setup function (closes #191) 2021-10-19 10:02:04 -07:00
bhagwan
c0d533f4d0 man previewer: 'col -b' -> 'col -bx' 2021-10-13 14:27:16 -07:00
bhagwan
f322d59653 added customization to man previewer cmd 2021-10-11 15:15:19 -07:00
bhagwan
544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 2021-10-11 01:23:00 -07:00
bhagwan
2c04f7495f default map 'ctrl-z' to 'abort' (closes issue #172) 2021-10-07 08:35:00 -07:00
bhagwan
1bfd897efb restored 'window_on_create' to documentation 2021-10-06 12:52:38 -07:00
bhagwan
b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 2021-10-06 09:48:40 -07:00
bhagwan
a499bd78a4 added experimental icon support for 'live_grep' (+resume) (issue #168)
Warning: this may cause a performance degradation so you have to
manually enable this by setting `grep.experimental = true` or directly
via `:lua require'fzf-lua'.live_grep({ experimental = true })`
2021-10-05 21:54:55 -07:00
bhagwan
3f4d57bec6 removed '--reflog' from commit|bcommit commands 2021-10-05 10:48:52 -07:00
bhagwan
275a351c98 added 'args.files_only' to README 2021-10-05 08:55:46 -07:00
bhagwan
cc74396e8f added 'args' provider 2021-10-05 08:43:28 -07:00
bhagwan
9454bcbad9 temp disable of binary preview test, match preview delay with fzf native 2021-10-04 13:50:32 -07:00
bhagwan
29ae04d73f added 60ms delay before builtin preview (issue #164)
delay can be controlled (or disabled) by setting
'previewers.builtin.delay'
2021-10-04 12:50:00 -07:00
bhagwan
dca31060e2 added keybinds to rotate builtin preview clockwise/counter-clockwise 2021-10-04 11:32:14 -07:00
bhagwan
0663deb841 removed screenshots, added screencast demo 2021-10-03 17:19:21 -07:00
bhagwan
7a554bb2b2 added fullscreen option (closes issue #150), minor keymap breaking changes
'fzf_binds' and 'previewers.builtin.keymap' were merged and moved under
'keymap.fzf' and 'keymap.builtin' respectively.
See ':help fzf-lua-customization' how to reconfigure.
2021-10-02 22:42:02 -07:00
bhagwan
7243918bdd Default border color set to 'Normal', minor 'git_diff' fix 2021-10-02 14:09:53 -07:00
bhagwan
a11f5eb9d4 rework fzf flags, close issue #149 2021-09-21 16:16:29 -07:00
bhagwan
892990262d README update, doc helpfile added 2021-09-19 19:04:55 -07:00
bhagwan
c4a829e83e added 'buffers' 2021-09-17 20:00:16 -07:00
Bogdan Grigoruță
3c486b17aa core: Change fzf_binds configuration style
This allows the users to configure fzf_binds in a way that is
similar to other key mappings defined in config.lua.
2021-09-10 14:53:43 +03:00
bhagwan
329863d754 added marks builtin previewer 2021-09-09 18:26:34 -07:00
bhagwan
0feeb0fdbb more improvements to previewer interface for future extensions 2021-09-09 15:27:38 -07:00
bhagwan
926e691ab7 default fzf binds for ctrl-d|u, ctrl-a|q combo changed to alt-a|q 2021-09-09 11:56:19 -07:00
bhagwan
1991beb6e8 live_grep defaults to 'continue_last_search', help|man preview mods 2021-09-09 10:43:45 -07:00
bhagwan
df3804ed55 builtin previewer rework, added previewers for help_tags, man_pages 2021-09-09 00:08:35 -07:00
bhagwan
01e79fd8c9 git_branches remove --reflog, minor previewer interfaces changes 2021-09-08 14:54:27 -07:00
bhagwan
6fc53bc42e fzf_colors added to README 2021-09-07 10:47:02 -07:00
Bogdan Grigoruță
f9415a00fe core: Add support for the fzf --color option 2021-09-07 10:42:50 -07:00
bhagwan
34eedd8c3e git_branches cmd README fix (closes issue #111) 2021-09-06 15:46:46 -07:00