23 Commits (1ece1ab09abe4f929fe92f5f92926c48263e0008)

Author SHA1 Message Date
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 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 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan d5a73bbaf7 git_status: deal with spaces in `git status -s` output (closes #200) 3 years ago
bhagwan e4b7041957 internal: raw_fzf perf improvements 3 years ago
bhagwan a49e26c2f0 git checkout instead of switch when git < 2.23 (closes issue #190) 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 59d8f6eed5 add cursor location to jumplist (closes issue #147) 3 years ago
John Drouhard a846889c7e More performance improvements for hot-path functions tail() and extension(); improve get_devicon() to be case-insensitive for extension 3 years ago
bhagwan ce30520aef closes #102 3 years ago
bhagwan 78895876c2 standardize 'fzf_bin', live_grep options optimizations 3 years ago
John Drouhard 6668b04b4b Improve git commands so they always run in the git root directory
This matches the behavior of both fzf.vim and telescope.nvim.

It also fixes a bug with the "git_buf_edit" action if the cwd is not in
the git root.
3 years ago
bhagwan 7b9fe4495e 'git_xxx' now supports 'cwd' option (closes issue #82) 3 years ago
bhagwan eefed45175 added builtin previewer 3 years ago
bhagwan 82a477420d fix `bcomments` for git version < 2.31 (issue #48) 3 years ago
bhagwan faad0474d4 added neovim builtin providers
commands, command_history, search_history, keymaps, registers, spell_suggest
3 years ago
bhagwan ccc9d5f6c1 option to open in a split instead of a popup 3 years ago
bhagwan fd390cdcea added git_status 3 years ago
bhagwan 1257eadb7c added git commits,bcommits,branches 3 years ago