87 Commits (7bb4973246f4dc38e2b0375607df9668c4efb282)

Author SHA1 Message Date
bhagwan 7bb4973246 chore(grep): rename opt 'continue_last_search' -> 'resume' 2 years ago
bhagwan ae99fed33f fix(live_grep_native): resume query double escape (closes #451) 2 years ago
bhagwan d02d6f2f6b feat(lsp|symbols): regex filtering option (#441)
also, rework how header string is constructed and display
document/workspace symbols query/regex in header string
2 years ago
bhagwan fa90b74e31 wrapper around `fn.input` to prevent exception with `<C-c>` 2 years ago
bhagwan d397352af9 feat: enable <ctrl-g> action in 'grep|lgrep_curbuf' 2 years ago
bhagwan 6fd4459d0c live_grep: save last_query after regex escape 2 years ago
bhagwan f3d0789e33 feat: custom glob parsing function via 'grep.rg_glob_fn' (#373) 2 years ago
bhagwan 4edaa792ff grep: opts.search overrides continue_last_search (closes #370) 2 years ago
bhagwan 33dae2a6b9 grep|tags: new filter opt, exclude tag headers from grep|live_grep 2 years ago
bhagwan def8abf586 internal: more tags|grep code consolidation 2 years ago
bhagwan 9ae5a8c30a internal: reuse grep code in tags|tags_grep 2 years ago
bhagwan 0219921e41 grep|tags_grep: save typed query as grep string when empty 2 years ago
bhagwan f86de7aa6b new option 'grep.rg_glob': default to rg glob parsing (closes #365) 2 years ago
bhagwan bca2107b63 disable 'ctrl-g' for l|grep_curbuf, hide filename in 'blines' 2 years ago
bhagwan 27f58c51c2 new feautre: <c-i> to toggle between 'grep|live_grep' 2 years ago
bhagwan e2c6f8cbf9 bugfix: 'lgrep_curbuf,' 'tags_live_grep' on fish shell (closes #357) 2 years ago
bhagwan ca4dc395d8 removed deprecated providers, 'resume' to accept options 2 years ago
bhagwan dcebd33a88 tags: added grep_cword|CWORD|visual 2 years ago
bhagwan 23267bfb8e tags_live_grep: added support 'multiprocess=false' 2 years ago
bhagwan 9094065d79 new provider: tags_live_grep 2 years ago
bhagwan 9a0f625804 normaize fzf FIELD INDEX EXPRESSION, see below:
- refactor fzf field index experssion and line field number options
- enable native fzf previewers (bat/cat/head) for all file/buffer providers
- buffers|lines|blines|tabs now respect default previewer
2 years ago
bhagwan dc23282b96 grep: better regex handling of . and % 2 years ago
bhagwan b033e406ca grep|live_grep: fish shell special chars fixes (closes #340) 2 years ago
bhagwan 2d4c9433b2 fixed live_grep "command" prompt with 'sk' 2 years ago
bhagwan c096cd1849 grep_project: exclude filename from fuzzy search by default 2 years ago
bhagwan 243ec9d9f3 chore: remove all LSP warnings 2 years ago
bhagwan 58e159c36e internal: only replace {argv} when requested by live_grep 2 years ago
bhagwan 8ad6e92b9f bugfix: live_grep on NixOS, adjust for extra neovim cli args (#291) 2 years ago
bhagwan 21f19cac1a new option 'global_resume_query': split resume from typed query (#271) 2 years ago
bhagwan 0069dc4a8e resume adjustments for 'live_grep_glob|native' 2 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2 years ago
bhagwan 3147d9b170 grep|live_grep: display informative messages on regex parse errors 2 years ago
bhagwan 62d279d74b live_grep_resume: defaulted to multiprocess, better DEBUG message 2 years ago
bhagwan 37ea63c26b grep|live_grep: added support for multiprocess search resume 2 years ago
bhagwan 887d6a4cd3 live_grep: multiprocess as default provider, added glob support 2 years ago
bhagwan 429f9572e0 live_grep_native: added multiprocess and icons support 2 years ago
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.
2 years ago
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
3 years ago
bhagwan 58031b63d9 internal: default option condition optimization 3 years ago
bhagwan ae40b13517 bugfix: embarassing regex error (closes #231) 3 years ago
bhagwan 7b0e658db5 grep: remove '--column' flag when search string is empty 3 years ago
bhagwan 1d6ea8d381 lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
fix help buffer syntax highlighting in blines|buffer preview
3 years ago
bhagwan ac342fcb3b 'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf' 3 years ago
bhagwan 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan b462ba2cc6 added 'grep_project' command (shortcut to 'grep' with empty query) 3 years ago
bhagwan ac0862cfb1 internal: libuv spawn, limit uv.write chunks to 65K 3 years ago
bhagwan f947669dec internal: libuv helpers, perf enhancements 3 years ago
bhagwan 30f50017bf internal: renamed 'cb_pid' -> 'pid_cb' 3 years ago
bhagwan 69b70ec2ec terminate initial command when fzf is closed (issue #187) 3 years ago
bhagwan b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 3 years ago