49 Commits (main)

Author SHA1 Message Date
bhagwan 07e34d2bac fix: preview/actions for paths that contain ':' (closes #453) 2 years ago
bhagwan 52326a6444 fix(tags): error E5560 when tags are under $HOME (#452) 2 years ago
bhagwan 2d2ee02d17 fix(oldfiles): missing entries (closes #447) 2 years ago
bhagwan 179162abe0 fix(path_shorten): validate non-zero positive number 2 years ago
bhagwan 62f67b6194 feat(make_entry): replace $HOME with '~' where possible (#436) 2 years ago
bhagwan 870f88096b fix(path_shorten): use first path when glob mathes multiple paths 2 years ago
bhagwan 74831cf138 fix: bat previewer with LSP 'force_uri=true' (#409) 2 years ago
bhagwan b614a9d315 feat: file providers now support 'path_shorten' (#408) 2 years ago
bhagwan 604e4cf4c8 feat(git): added support for --git-dir, --work-tree (yadm) 2 years ago
bhagwan 97a63e66bf tags|btags: properly handle all special characters (closes #371) 2 years ago
bhagwan b98bb2618c tags|btags bugfix: preview/action when tag name contains / or <Tab> 2 years ago
bhagwan fc77943cdf bat previewer optimization for ctags with no line numbers (#355) 2 years ago
bhagwan 5f1506fc0c apply cwd to path when parsing LSP URIs (#341) 2 years ago
bhagwan 0fa4f3d7d7 minimize preview buffer flicker between reloads (#298) 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 da2a04d052 LSP uri jumps to correct column (locations cols|lines are 0-based) 2 years ago
bhagwan a487c6752f force LSP jumps to use 'vim.lsp.util.jump_to_location' (closes #336) 2 years ago
bhagwan 7c4c61acb9 properly escape lua special chars in 'path.relative' (closes #315) 2 years ago
bhagwan 5396fa198f ctags: do not ignore '$' at the end of the pattern (revisit #219) 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 e7c4970146 tags: jump to pattern when opening buffer (closes #245) 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
2 years ago
bhagwan 2f30c9cb21 temporarily disable 'strip_cwd_prefix' 2 years ago
bhagwan ccc9ee3e4f strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix') 2 years ago
bhagwan 1d6ea8d381 lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
fix help buffer syntax highlighting in blines|buffer preview
2 years ago
bhagwan abd1a3cc90 improve performance of executing commands by avoiding the shell 3 years ago
bhagwan 07010f74c6 sort 'buffers' by 'lastused' (closes #208)
also changes buffers preview to read lines from the buffer instead
of attaching the exisiting buffer to the preview window, the former
turned out to changed the 'lastused' field of the buffer which was
undesireable for buffer sorting.
3 years ago
kraem d926691176 fix: make uri match more narrow 3 years ago
bhagwan 454b0ba48c bugfix: preview fail when contents contains URL (closes #204) 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 9a6a8a2833 added zero-width space to icon separator (issue #189) 3 years ago
bhagwan f947669dec internal: libuv helpers, perf enhancements 3 years ago
bhagwan 8871e7485a perf improvement for system commands (issue #126) 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
John Drouhard c78712c407 Improve performance of path.tail() and path.extension() by not matching with end-anchor $ 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 7a144f81da bugfix: [No Name] buffer, minor live_grep modifications 3 years ago
bhagwan bdbd662468 better handling of '--ansi' flag, detect extension on filenames with space 3 years ago
bhagwan 2ae75cba96 column support for search matching, default colors for extensions 3 years ago
bhagwan a0f073950b misc previewer title display improvements, grep 'no_esc' option added 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 3c661e552e refactor and add 'cwd_only' option to all file providers 3 years ago
bhagwan a91e839cce file providers with custom cwd bugfix 3 years ago
bhagwan ec2e870614 refactor previewers 3 years ago
bhagwan daee2543c8 optional cwd bugfix 3 years ago
bhagwan 495c133254 nbsp revert, lsp_references added 3 years ago
ibhagwan 36d850b29b Initial commit 3 years ago