95 Commits (bc3edb68cff337179d4ebd5d1a7ede5eb6abab07)

Author SHA1 Message Date
bhagwan bc3edb68cf resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes 3 years ago
bhagwan e1674cd8f5 README update: 'no_global_resume' option clarfication 3 years ago
bhagwan 0069dc4a8e resume adjustments for 'live_grep_glob|native' 3 years ago
bhagwan c5ff7b79cc allow empty 'keymap.fzf' table to disable fzf binds (closes #266) 3 years ago
bhagwan 8338ecd673 do not delete typed query on consequitive 'resume' calls 3 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 3 years ago
bhagwan 887d6a4cd3 live_grep: multiprocess as default provider, added glob support 3 years ago
bhagwan 828aceb3a3 internal: move git diff retrieval to make_entry.preprocess 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 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 2f30c9cb21 temporarily disable 'strip_cwd_prefix' 3 years ago
bhagwan 58031b63d9 internal: default option condition optimization 3 years ago
bhagwan ccc9ee3e4f strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix') 3 years ago
bhagwan e02451600a 'live_grep' freezes on large text files (#211) 3 years ago
bhagwan fc2f4b5d7d instantiate previewer from 'opts.previewer:new()' 3 years ago
bhagwan 9aab21b318 added support for 'nvim-jdtls' LSP URIs (closes issue #195)
'nvim-jdtls' extends the LSP to support eclipse jdt classes
since classes are inside '.jar' file it displays them as 'jdt://'
URIs which are then handled by 'nvim-jdtls', we can then use
'vim.lsp.util.jump_to_location' to open the URIs.
3 years ago
bhagwan e4b7041957 internal: raw_fzf perf improvements 3 years ago
bhagwan f947669dec internal: libuv helpers, perf enhancements 3 years ago
bhagwan fd497f313d internal 'live_grep' modifications (hopefully solves #185) 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 544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 3 years ago
bhagwan 913c3c650d better error handling of fzf exit status (nvim-fzf PR #36) 3 years ago
bhagwan b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 3 years ago
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 })`
3 years ago
bhagwan 67163f4c5f better handling of 'cwd' in 'live_rg' (should solve issue #166) 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 fdae33b047 live_grep_resume performance (closes issue #154) 3 years ago
bhagwan 940415f836 tabs fixed, added descriptive error message for bad fzf flags 3 years ago
bhagwan 4e196386e9 ignore colors unless specified 3 years ago
bhagwan a11f5eb9d4 rework fzf flags, close issue #149 3 years ago
bhagwan 47f0671679 win autoclose option rework (should close issue #144) 3 years ago
bhagwan dcc8eaf295 added option to update the fzf command in window (issue #144) 3 years ago
bhagwan 2dd5046455 prevent (and alert on) multiple instances of fzf-lua 3 years ago
bhagwan 38334ff1ef live_lsp_workspace_symbols fix for C-lang (closes issue #137) 3 years ago
bhagwan 6708e58caf minor internal function rename 3 years ago
bhagwan c876f8315a lsp_live_workspace_symbols rework, better API for live commands 3 years ago
bhagwan 8871e7485a perf improvement for system commands (issue #126) 3 years ago
bhagwan dffe7ff56b git_icons and git_status improvements 3 years ago
bhagwan 2bc6c1b079 borderchars can now handle highlights (closes issue #129) 3 years ago
bhagwan 0ec62035a7 fzf_binds backward compatibility 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 0feeb0fdbb more improvements to previewer interface for future extensions 3 years ago
bhagwan 1991beb6e8 live_grep defaults to 'continue_last_search', help|man preview mods 3 years ago
bhagwan df3804ed55 builtin previewer rework, added previewers for help_tags, man_pages 3 years ago
bhagwan 5de5638d37 closes issue #122 3 years ago
bhagwan 01e79fd8c9 git_branches remove --reflog, minor previewer interfaces changes 3 years ago
bhagwan 2016be182a closes issue #119 3 years ago