580 Commits (main)

Author SHA1 Message Date
bhagwan fc77943cdf bat previewer optimization for ctags with no line numbers (#355) 2 years ago
bhagwan bcbd20b690 added missing '_ctag' actions modifier 2 years ago
bhagwan daf4f63819 better ctag parsing to accomodate for line numbers (#355) 2 years ago
bhagwan 95b82e7973 tags|btags rework, multiprocess performance enhancement (#355) 2 years ago
bhagwan eb9f33b345 added `cwd` header display to LSP providers 2 years ago
bhagwan 5f1506fc0c apply cwd to path when parsing LSP URIs (#341) 2 years ago
bhagwan 59de53fbbe lsp_code_actions: 'deepcopy' fallback, 'ui_select' control opt (#353) 2 years ago
bhagwan ab19fda7da LSP: misc fixes for neovim nightly 2 years ago
bhagwan 22fd2a74a1 accidentally broken preview starting with 'hidden' (closes #351) 2 years ago
bhagwan 3fa3eb0ffe help_tags: fix preview toggle, man_pages: fix extra buffer 2 years ago
bhagwan 0fa4f3d7d7 minimize preview buffer flicker between reloads (#298) 2 years ago
bhagwan f3857a98a7 added an option to override fzf-lua's NBSP char (closes #347) 2 years ago
bhagwan fd9d93a770 vim.ui.select: fallback when opts have no 'format_item' (closes #346) 2 years ago
bhagwan 22d7f4b6c5 args refactor and resume support 2 years ago
bhagwan 6e1ceb6a63 asyncify oldfiles, more performance enahncements (closes #343) 2 years ago
bhagwan 726b4de499 restored oldfiles 'stat_file' default (closes #344) 2 years ago
bhagwan 5b7fb9fb50 fzf delimiter adjustments for fish shell 2 years ago
bhagwan 8591f3c846 oldfiles performance enhancements (#343) 2 years ago
bhagwan 4fd1af7b47 fixed tabs|lines|blines with 'bat_native' when using skim 2 years ago
bhagwan 738d6ba547 fixed delimiter for blines 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 027068511a bugfix: delimiter for 'dap_breakpoints' 2 years ago
bhagwan 930cc5f487 added support for nvim-dap (#101) 2 years ago
bhagwan da2a04d052 LSP uri jumps to correct column (locations cols|lines are 0-based) 2 years ago
bhagwan 6d3b884f73 added help strings for {buf|file}_switch_or_edit 2 years ago
bhagwan 2a2c8502a4 refactor native fzf previewer params 2 years ago
bhagwan 76c7b6d960 removed unnecessary TAB as fzf delimiter 2 years ago
bhagwan dc23282b96 grep: better regex handling of . and % 2 years ago
bhagwan 11bf4e86a7 LSP entry delimiter TAB->SPACE, added 'trim_entry' opt (closes #342) 2 years ago
bhagwan aa9194f98d more special character optimizations for fish, skim 2 years ago
bhagwan fdd3874367 internal: debug_cmd option to supress mulitprocess cmd debug print 2 years ago
bhagwan b033e406ca grep|live_grep: fish shell special chars fixes (closes #340) 2 years ago
bhagwan b273a358a7 bugfix: NULL buffer creation on LSP actions (closes #341) 2 years ago
bhagwan 2d4c9433b2 fixed live_grep "command" prompt with 'sk' 2 years ago
bhagwan 589c7a4ee6 file actions: only move cursor if required (closes #339) 2 years ago
bhagwan 34281e4d88 buffers|tabs|lines: normalize unnamed buffers (more below):
- prioritize 'show_quickfix' over 'show_unlisted'
2 new actions:
  - buf_switch_or_edit
  - file_switch_or_edit
2 years ago
bhagwan 330742a4c0 buffers|tabs|lines: exclude quickfix buffers (closes #337) 2 years ago
bhagwan e1f13f882e file actions: only parse ctags from tags|btags 2 years ago
bhagwan 1f75958d33 bugfix: accidentally broke ctag file actions 2 years ago
bhagwan 98676b67bb tagstack: added tag name to entry 2 years ago
bhagwan b772c0de9c new provider: tagstack, fixed external win file actions (#336) 2 years ago
bhagwan a487c6752f force LSP jumps to use 'vim.lsp.util.jump_to_location' (closes #336) 2 years ago
bhagwan c96ef0c109 registers: properly display special chars 2 years ago
bhagwan 30f4c0cb37 delete neovim temp dir on headless instance (#329) 2 years ago
bhagwan 2aa5bd3afa added the ability to bulk config files|buffers actions (closes #331) 2 years ago
bhagwan 3696489667 verify preview buffer wasn't disposed before reading (closes #327) 2 years ago
bhagwan 3d6b3a1b33 multiprocess: supress multiple errors with deferred exit 2 years ago
bhagwan 4040e33683 multiprocess: delete neovim temp dir on os.exit (closes #329) 2 years ago
bhagwan 0f4ca97bb7 tags|btags: vim.fn.expand tags file, set cwd header (closes #322) 2 years ago
bhagwan 58453ac391 removed unnecessary print in 'jumps' 2 years ago
bhagwan e532ffa480 added missing 'offset_encoding' to 'vim.lsp.util.jump_to_location' 2 years ago
bhagwan 59fdcdc3e0 always use 'vim.ui.select' for code actions when neovim > 0.6 2 years ago
bhagwan 970a920385 internal: expose vim.ui.select on_choice to opts 2 years ago
bhagwan f02c320a84 bugfix: vim.ui.select code_actions on multiple files (closes #319) 2 years ago
bhagwan f504b9b09a internal: send opts with 'code_actions.act' 2 years ago
bhagwan 20f926ad36 git_status fish shell compatibility (closes #320) 2 years ago
leiserfg bfd1e3471a Set default prompt for ui_select to match the official doc 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 e89d5bc009 OSX: use stdout instead of stderr due to rendering issues (#287, #316) 2 years ago
bhagwan 8e37ef6e21 added resume support for 'vim.ui.select' 2 years ago
bhagwan 5b5270684f exit visual mode before 'vim.ui.select' interface 2 years ago
bhagwan 28757aa248 extra safety check for 'vim.ui.select' on_choice 2 years ago
bhagwan 7c4c61acb9 properly escape lua special chars in 'path.relative' (closes #315) 2 years ago
bhagwan f466e20196 added custom options to 'register_ui_select' 2 years ago
bhagwan 475ffb2673 added provider for 'vim.ui.select' (closes #314) 2 years ago
bhagwan 7e7f6d8cc3 add offset_encoding to code_action apply_workspace_edit (#314) 2 years ago
bhagwan 1546c82b67 pass $FZF_PREVIEW_LINES|$FZF_PREVIEW_COLUMNS to git_diff cmd (#313) 2 years ago
bhagwan 7554520125 exclude unusable function/modules from :FzfLua auto-complete 2 years ago
bhagwan c096cd1849 grep_project: exclude filename from fuzzy search by default 2 years ago
bhagwan f9c9ae1768 bugfix: consecutive send-selection-to-quickfix 2 years ago
bhagwan 243ec9d9f3 chore: remove all LSP warnings 2 years ago
bhagwan 5f5d7e2ade internal: add vararg to class:new to suppress useless warnings 2 years ago
bhagwan 3e6a794c8c internal: save prompt fallback in win class 2 years ago
bhagwan 4f8751db52 LSP prompt renamed to 'prompt_postfix' (closes #308) 2 years ago
bhagwan 2ab8adadb1 enable custom 'nvim-web-devicons' setup with mulitprocess (closes #311) 2 years ago
Jürgen Steitz 5dc661e4e8 fix devicon size in litty using file_icon_padding
This fix removes the nbsp. Kitty needs a normal space to extend the icon size.
2 years ago
bhagwan 95b63ef731 'jump_to_single_result_action' removed extra item in array 2 years ago
bhagwan 0637c1b686 add offset_encoding to LSP location APIs (closes #306) 2 years ago
bhagwan 9ac1543b55 F1 keybind help: normalize keybind format, remove duplicate binds 2 years ago
bhagwan 32b2cdb510 F1 keybind help: fixed formatting in wider terminals 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 da2c0fe3df bugfix: 'lines|blines' default action in term buffers 2 years ago
bhagwan 2122c2cd05 file actions: do not add to jumplist from term buffers 2 years ago
bhagwan 04c342f799 feature: accept opts argument as function that returns opts table 2 years ago
bhagwan 1c28cbc904 'lines|blines' nightly fix, cwd header added to 'oldfiles' 2 years ago
bhagwan 340ad70215 fix 'help_tags' in nightly (error: 'Expected Lua number') 2 years ago
bhagwan 58e159c36e internal: only replace {argv} when requested by live_grep 2 years ago
bhagwan 8ad6e92b9f bugfix: live_grep on NixOS, adjust for extra neovim cli args (#291) 2 years ago
bhagwan 79371f0d9f bugfix: "No diagnostics found" with neovim 0.6.1 (closes #292) 2 years ago
bhagwan 41b657e823 LSP diagnostics update for deprecations in neovim 0.6.1 2 years ago
bhagwan 9a71718c1e escape hyphen in 'vim.fn.expand' (closes issue #285) 2 years ago
bhagwan 3eb5baa6e9 bugfix: git icon overrides breaks 'git_status' (closes #283) 2 years ago
bhagwan e40d65c1e1 new option 'show_cwd_header' forces 'cwd' in header line (closes #281) 2 years ago
bhagwan b35d03f4ee bugfix: sending results with no column to quickfix (closes #280) 2 years ago
bhagwan 5396fa198f ctags: do not ignore '$' at the end of the pattern (revisit #219) 2 years ago
bhagwan 3717661c83 'resume' rework: better way of storing last query (closes #271) 2 years ago
bhagwan f0927af072 internal: added 'win.save_query', rename internal selection callback 2 years ago
bhagwan 21f19cac1a new option 'global_resume_query': split resume from typed query (#271) 2 years ago
bhagwan ab30844a7a internal: added 'fn_post_fzf' callback 2 years ago
bhagwan b2aee6f1d3 'git_status' preview rework, stage|unstage with <left>|<right> (#239) 2 years ago
bhagwan aec049eaa6 disable 'cursorline' on resume 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 e1674cd8f5 README update: 'no_global_resume' option clarfication 2 years ago
bhagwan a6213f05e1 builtin: default exclude from 'resume' (#267) 2 years ago
bhagwan 0069dc4a8e resume adjustments for 'live_grep_glob|native' 2 years ago
bhagwan c5ff7b79cc allow empty 'keymap.fzf' table to disable fzf binds (closes #266) 2 years ago
bhagwan db3e71200d added 'changes' as a subset of 'jumps' (#264) 2 years ago
bhagwan bd57c8c2e8 bugfix: 'preview-page-reset' for tags|btags 2 years ago
bhagwan 41f8752f49 removed unnecessary debug print in 'goto_jump' 2 years ago
bhagwan 8338ecd673 do not delete typed query on consequitive 'resume' calls 2 years ago
bhagwan 1ece1ab09a added 'resume': will resume **any** list, custom or builtin (#241) 2 years ago
bhagwan 18837e1174 internal: wrap warning message from 'read_file_async' (closes #263) 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
Tamir Zahavi-Brunner 9421bc225f Do not remap when calling feedkeys (closes #258)
When calling vim.fn.feedkeys for commands or searches ,which means it is
prefixed by ":" or "/", one of those keys could be remapped to something
else. Calling feedkeys with "n" means this mapping would be ignored.
2 years ago
bhagwan 3147d9b170 grep|live_grep: display informative messages on regex parse errors 2 years ago
bhagwan 62d279d74b live_grep_resume: defaulted to multiprocess, better DEBUG message 2 years ago
bhagwan d07c5c8522 restore 'cursorline' after 'nvim_open_win' (closes #254) 2 years ago
bhagwan 31a678e4de tags, btags: hide line numbers with builtin previewer 2 years ago
bhagwan 37ea63c26b grep|live_grep: added support for multiprocess search resume 2 years ago
bhagwan 887d6a4cd3 live_grep: multiprocess as default provider, added glob support 2 years ago
bhagwan 429f9572e0 live_grep_native: added multiprocess and icons support 2 years ago
bhagwan 681e5afe86 spawn_stdio: standardize stderr:write 2 years ago
bhagwan 704a81f90b properly exit neovim headless with <C-c> 2 years ago
bhagwan c569296070 internal: replace error messages from 'io.write' to 'io.stderr:write' 2 years ago
bhagwan 1a98c8919d restored 'multiprocess=true' as default (hopefully for the last time) 2 years ago
bhagwan 058a01f8d1 spawn_stdio: write error message using 'io.stderr' 2 years ago
John Drouhard 317aafa3c3 Fix multiprocess mode pipes to use io.write() instead of opening a new file descriptor on /dev/stdout and /dev/stderr 2 years ago
bhagwan 4a013fd41d multiprocess: use 'io.write' instead of 'uv.pipe:write' 2 years ago
bhagwan c614b62da7 set 'mutliprocess = false' as default until I figure out all terms 2 years ago
bhagwan d5994bf062 internal: make_entry 'file_icon_padding' minor optimization 2 years ago
bhagwan 5f31f98c8f internal: wrap load devicons and git diff files in 'pcall' 2 years ago
bhagwan d5998988c9 file actions: entry line/column take precedence over ctag navigation 2 years ago
bhagwan f8b447dbbd remove 'nvim-fzf' depedency 2 years ago
bhagwan c7dd8ac887 bugfix: previewer reload between two nameless buffers (closes #250) 2 years ago
bhagwan ab8b1a1de2 restore 'multiprocess = true' as default for 'files|grep' 2 years ago
bhagwan 828aceb3a3 internal: move git diff retrieval to make_entry.preprocess 2 years ago
bhagwan 7fa17b85bb file_icon_padding default to empty string 2 years ago
bhagwan 9ad0aefbdb set 'multiprocess = false' as the default 2 years ago
bhagwan f7b8b8d9d0 bugfix: 'git_icons' with 'mutliprocess = true' 2 years ago
bhagwan d7cc460959 last commit broken if devicons not present (#247) 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 fd4e94e7a4 tags: rewind to line 1 before executing search (issue #245) 2 years ago
bhagwan 72fe3222d3 keymaps: properly display <Space> (closes issue #246) 2 years ago
bhagwan e7c4970146 tags: jump to pattern when opening buffer (closes #245) 2 years ago
bhagwan 46c9e2bcd2 tags: optimized performance with the builtin previewer (#245) 2 years ago
bhagwan 028460f728 add 'tiebreak=index' to command and search history (closes #243) 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 58031b63d9 internal: default option condition optimization 2 years ago
bhagwan ccc9ee3e4f strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix') 2 years ago
bhagwan 2d6967be4b LSP: properly set 'async = true' default for symbols 2 years ago
bhagwan a14548321a fzf win not entering INSERT mode if called from 'builtin' (closes #238) 2 years ago
bhagwan 419a57a78f LSP: set 'async = false' on all but workspace/document symbols 2 years ago
bhagwan 18addf7dfd builtin: only enter INSERT mode if 'nt' mode exists (closes #235) 2 years ago
bhagwan ae40b13517 bugfix: embarassing regex error (closes #231) 2 years ago
bhagwan 000d65b43b preview: don't reload the buffer if match is from the same file/buffer 2 years ago
bhagwan 04912f6eff limit preview filetype workaround to help files only 2 years ago
bhagwan 7b0e658db5 grep: remove '--column' flag when search string is empty 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 253b9413eb blines: set defaults 'show_unlisted = true', 'no_term_buffers = false' 3 years ago
bhagwan a5e1be796d added '--tiebreak=index' to 'lines', 'blines' (#228) 3 years ago
bhagwan ac342fcb3b 'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf' 3 years ago
bhagwan 92e21423a1 lsp_code_actions: acquire client only if needed to resolve action 3 years ago
bhagwan 100f62dee1 lsp_code_actions: resolve action for jdtls (ty Telescope!) 3 years ago
bhagwan a677abe6fb blines/lines: export 'no_term_buffers' option 3 years ago
bhagwan 74fca12501 bugfix: open 'help_tags' from an existing help buffer 3 years ago
bhagwan fad1ef47e3 further shell perf improvements for git and tags 3 years ago
bhagwan abd1a3cc90 improve performance of executing commands by avoiding the shell 3 years ago
bhagwan 8d87ef366e Workaround for potential 'tempname' bug (#222) 3 years ago
bhagwan 63ed48baf9 added option to show unlisted buffers (closes #220) 3 years ago
bhagwan 2f97f24c16 tags: adjust regex crlf pattern (#219) 3 years ago
bhagwan a45ea4dec5 bugfix: tags with similar prefixes, 'ff=dos' newline (closes #219) 3 years ago
bhagwan fe4494446e expose builtin previewer window options (closes #218) 3 years ago
bhagwan 956a092e55 internal: removed unnecessary 'require' 3 years ago
bhagwan fa006b8d9f jdtls LSP code actions zero version field fix 3 years ago
bhagwan b462ba2cc6 added 'grep_project' command (shortcut to 'grep' with empty query) 3 years ago
bhagwan 5e899dc046 set correct title highlight length (+1) 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 cb526dbb0c remove 'manually loaded' comment (closes #212) 3 years ago
bhagwan 9065fdf1bb Manually source 'FzfLua' VimL in latest nightly 3 years ago
bhagwan c9979a4bb4 workaround for 'g:nvim_fzf_directory' not set with latest nightly 3 years ago
bhagwan 471d853a9e LSP: fixed error message on LSP client failure 3 years ago
bhagwan 936c10dc71 async LSP: support multiple LSP clients attached to the same file 3 years ago
bhagwan 62937db2db run fzf with 'sh -c' to prevent woes with other shell types (#210) 3 years ago
bhagwan fc2f4b5d7d instantiate previewer from 'opts.previewer:new()' 3 years ago
bhagwan 82cd9c15c3 make preview winodow focusable (closes #202) 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
bhagwan b3add55b46 fix tags for files with 'fileformat=dos' (closes #207) 3 years ago
bhagwan c45c06218f bugfix: ctags with tab characters (closes #206) 3 years ago
bhagwan e0ff9e501c alternative preview scroll fn (attempt to fix #202) 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 4b59a5d31d POSIX find warn when using '-printf' flag (#110) 3 years ago
bhagwan 120a097205 internal: export 'config' module 3 years ago