Commit Graph

108 Commits

Author SHA1 Message Date
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
2022-02-11 23:02:53 -08:00
bhagwan
027068511a bugfix: delimiter for 'dap_breakpoints' 2022-02-11 18:45:27 -08:00
bhagwan
ef48f9fc24 README update: added link to 'nvim-dap' 2022-02-11 17:30:25 -08:00
bhagwan
930cc5f487 added support for nvim-dap (#101) 2022-02-11 17:08:34 -08:00
bhagwan
b772c0de9c new provider: tagstack, fixed external win file actions (#336) 2022-02-05 12:29:20 -08:00
bhagwan
adc622112b README update: clarify default actions inheritance (#333) 2022-02-02 11:54:17 -08:00
bhagwan
2aa5bd3afa added the ability to bulk config files|buffers actions (closes #331) 2022-01-31 20:00:20 -08:00
bhagwan
e4dcd44fb3 git_files: set 'multiprocess=true' as default 2022-01-18 19:49:21 -08:00
bhagwan
e383be5cff README update: added 'de|register_ui_select' under Neovim API 2022-01-18 15:01:26 -08:00
bhagwan
4f8751db52 LSP prompt renamed to 'prompt_postfix' (closes #308) 2022-01-16 10:07:50 -08:00
bhagwan
e3546e8272 new feature: press F1 for keybind help (#294) 2022-01-14 21:45:57 -08:00
bhagwan
782b8599fd README update 2021-12-27 16:25:18 -08:00
bhagwan
f452111888 updated README: fzf minimum requirement 0.24.0 2021-12-27 10:59:23 -08:00
bhagwan
2012d97260 README update, vimdoc generated using new treesitter markdown parser 2021-12-21 20:52:57 -08:00
bhagwan
3717661c83 'resume' rework: better way of storing last query (closes #271) 2021-12-21 04:36:35 -08:00
bhagwan
21f19cac1a new option 'global_resume_query': split resume from typed query (#271) 2021-12-20 18:12:37 -08:00
bhagwan
b2aee6f1d3 'git_status' preview rework, stage|unstage with <left>|<right> (#239) 2021-12-19 01:32:36 -08:00
bhagwan
bc3edb68cf resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes 2021-12-18 20:12:43 -08:00
bhagwan
e1674cd8f5 README update: 'no_global_resume' option clarfication 2021-12-17 22:08:57 -08:00
bhagwan
338a1ef6a2 README update 2021-12-16 22:26:44 -08:00
bhagwan
db3e71200d added 'changes' as a subset of 'jumps' (#264) 2021-12-16 22:03:46 -08:00
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
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
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