163 Commits (main)

Author SHA1 Message Date
bhagwan 930cc5f487 added support for nvim-dap (#101) 2 years ago
bhagwan 6d3b884f73 added help strings for {buf|file}_switch_or_edit 2 years ago
bhagwan b772c0de9c new provider: tagstack, fixed external win file actions (#336) 2 years ago
bhagwan 2aa5bd3afa added the ability to bulk config files|buffers actions (closes #331) 2 years ago
bhagwan f2ebd3b9c3 added 'vim.ui.select' action help string 2 years ago
bhagwan e4dcd44fb3 git_files: set 'multiprocess=true' as default 2 years ago
bhagwan 4f8751db52 LSP prompt renamed to 'prompt_postfix' (closes #308) 2 years ago
bhagwan 2d1862d034 added new action 'file_switch' (closes #301) 2 years ago
bhagwan e3546e8272 new feature: press F1 for keybind help (#294) 2 years ago
bhagwan 04c342f799 feature: accept opts argument as function that returns opts table 2 years ago
bhagwan 41b657e823 LSP diagnostics update for deprecations in neovim 0.6.1 2 years ago
bhagwan 3eb5baa6e9 bugfix: git icon overrides breaks 'git_status' (closes #283) 2 years ago
bhagwan 21f19cac1a new option 'global_resume_query': split resume from typed query (#271) 2 years ago
bhagwan b2aee6f1d3 'git_status' preview rework, stage|unstage with <left>|<right> (#239) 2 years ago
bhagwan d15b90e8c3 tabs: 'ctrl-x': enable multi-delete and resume 2 years ago
bhagwan bc3edb68cf resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes 2 years ago
bhagwan db3e71200d added 'changes' as a subset of 'jumps' (#264) 2 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2 years ago
bhagwan d874e7705a added 'jumps', closes #264 2 years ago
bhagwan b2bcca20c2 better way of getting nvim-web-devicons path (closes #260) 2 years ago
bhagwan 1a98c8919d restored 'multiprocess=true' as default (hopefully for the last time) 3 years ago
bhagwan c614b62da7 set 'mutliprocess = false' as default until I figure out all terms 3 years ago
bhagwan ab8b1a1de2 restore 'multiprocess = true' as default for 'files|grep' 3 years ago
bhagwan 9ad0aefbdb set 'multiprocess = false' as the default 3 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.
3 years ago
bhagwan 46c9e2bcd2 tags: optimized performance with the builtin previewer (#245) 3 years ago
bhagwan 028460f728 add 'tiebreak=index' to command and search history (closes #243) 3 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 419a57a78f LSP: set 'async = false' on all but workspace/document symbols 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 253b9413eb blines: set defaults 'show_unlisted = true', 'no_term_buffers = false' 3 years ago
bhagwan abd1a3cc90 improve performance of executing commands by avoiding the shell 3 years ago
bhagwan fe4494446e expose builtin previewer window options (closes #218) 3 years ago
bhagwan 056ee93169 globally apply fix from #197 (table ref copy overrides globals) 3 years ago
bhagwan ac0862cfb1 internal: libuv spawn, limit uv.write chunks to 65K 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan 120a097205 internal: export 'config' module 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 c0d533f4d0 man previewer: 'col -b' -> 'col -bx' 3 years ago
bhagwan 11c369316f internal: moved preview delay under 'winopts.preview.delay' 3 years ago
bhagwan f322d59653 added customization to man previewer cmd 3 years ago
Seth Messer 1faf5e02e0 fix(): update default preview config to `'border'` from `'float'`.
Was throwing the following:
`[Fzf-lua] fzf error 2: invalid preview window option: float`

Now matches the docs.
3 years ago
bhagwan 544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 3 years ago
bhagwan 2c04f7495f default map 'ctrl-z' to 'abort' (closes issue #172) 3 years ago
bhagwan b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 3 years ago
bhagwan 56885088e9 fix preview win highlights in 'buffers' (issue #169) 3 years ago
bhagwan 3f4d57bec6 removed '--reflog' from commit|bcommit commands 3 years ago
bhagwan 275a351c98 added 'args.files_only' to README 3 years ago
bhagwan cc74396e8f added 'args' provider 3 years ago
bhagwan 67163f4c5f better handling of 'cwd' in 'live_rg' (should solve issue #166) 3 years ago
bhagwan 9454bcbad9 temp disable of binary preview test, match preview delay with fzf native 3 years ago
bhagwan 29ae04d73f added 60ms delay before builtin preview (issue #164)
delay can be controlled (or disabled) by setting
'previewers.builtin.delay'
3 years ago
bhagwan dca31060e2 added keybinds to rotate builtin preview clockwise/counter-clockwise 3 years ago
bhagwan 64ceffcd0a default action for files changed to 'file_edit_or_qf', read below:
- normalized action callback 'selected' table, before this change
  selected items table were passed through transparently from nvim-fzf
  meaning the first item in the table could either be a selected item
  or the name of the keybind pressed (when multiple actions were
  present), this changes makes sure 'selected' table contains only
  valid items (removes the keybind if necessary)
  If you've developed a custom action callback please modify it to
  start enumerating the items at 'selected[1]' (and not selected[2])
- fixed minor issue with 'fzf_colors' on default colorschemes
3 years ago
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.
3 years ago
bhagwan 7243918bdd Default border color set to 'Normal', minor 'git_diff' fix 3 years ago
bhagwan a11f5eb9d4 rework fzf flags, close issue #149 3 years ago
bhagwan b30ce12b77 'tabs' improvements 3 years ago
bhagwan c4a829e83e added 'buffers' 3 years ago
bhagwan f3f373beaf better cwd param handling for files|files_resume 3 years ago
bhagwan dffe7ff56b git_icons and git_status improvements 3 years ago
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.
3 years ago
bhagwan 329863d754 added marks builtin previewer 3 years ago
bhagwan 0feeb0fdbb more improvements to previewer interface for future extensions 3 years ago
bhagwan 926e691ab7 default fzf binds for ctrl-d|u, ctrl-a|q combo changed to alt-a|q 3 years ago
bhagwan df3804ed55 builtin previewer rework, added previewers for help_tags, man_pages 3 years ago
bhagwan 01e79fd8c9 git_branches remove --reflog, minor previewer interfaces changes 3 years ago
bhagwan eaf465f9e9 grep, live_grep cwd relative path display 3 years ago
Bogdan Grigoruță f9415a00fe core: Add support for the fzf --color option 3 years ago
bhagwan 2de83f800e added icons to lines|blines 3 years ago
John Drouhard 02ad885d30 File icons: use colors from nvim-web-devicons if available
This improves the colors for file icons if nvim-web-devicons is
available. If it is, fzf-lua now uses those colors for the icons.

This should also improve the performance of make_entry_file by
optimizing string creation and when various regexes are matched.
3 years ago
bhagwan fa70aa52f8 added 'lines' (closes issue #97) 3 years ago
bhagwan 137b246845 file_icon_padding, replace spaces with unicode invisible char 3 years ago
Edwar Martinez 0f713785a0 Add file_icon_padding option 3 years ago
bhagwan 7a144f81da bugfix: [No Name] buffer, minor live_grep modifications 3 years ago
bhagwan 78895876c2 standardize 'fzf_bin', live_grep options optimizations 3 years ago
bhagwan 8feda7fb9c added preview scrolling for terminal buffers 3 years ago
bhagwan 3527c8e532 added '--perl-regexp' to grep options (closest match to rg regex engine) 3 years ago
bhagwan 2ae75cba96 column support for search matching, default colors for extensions 3 years ago
jpe f3471b411f Fix loss of git records after checking out older commits 3 years ago
bhagwan 789e0bf310 added 'filetypes' provider 3 years ago
bhagwan 7b9fe4495e 'git_xxx' now supports 'cwd' option (closes issue #82) 3 years ago
bhagwan 6aff90f99b improved actions for command_history|search_history (closes issue #75) 3 years ago
bhagwan 9fb6a3059f added 'blines' provider (closes issue #77) 3 years ago
bhagwan ac99206c13 added 'packadd' provider (closes issue #64) 3 years ago
bhagwan 757d6392f0 added builtin previewer options for syntax bytes/lines limits 3 years ago
jpe 0b97ac673b Add actions to checkout and inspect previous git commits 3 years ago
bhagwan e89018baf9 builtin previewer: misc config options added 3 years ago
bhagwan eefed45175 added builtin previewer 3 years ago
bhagwan ecdc79da2e WIP: added `tags`, `btags` (need to fix previewer line) 3 years ago
bhagwan cea8e27991 added `marks` 3 years ago
bhagwan faad0474d4 added neovim builtin providers
commands, command_history, search_history, keymaps, registers, spell_suggest
3 years ago
bhagwan 3c661e552e refactor and add 'cwd_only' option to all file providers 3 years ago
bhagwan b25e5bef33 added async|sync option to LSP functions 3 years ago
Denys Zadorozhnyi d7b4696985
add lsp.workspace_diag_only_cwd option to filter out diagnostics entries from files outside of the current working directory (#36)
* add lsp.workspace_diag_only_cwd option to filter

out diagnostics entries from files outside of the current
working directory;

* switch to cwd_only option;

* restore original filtering in buffer_diag loop;
3 years ago
bhagwan fd390cdcea added git_status 3 years ago
bhagwan 1257eadb7c added git commits,bcommits,branches 3 years ago
bhagwan 0d05954397 previewers migrated to new async_action 3 years ago