234 Commits (d9266911761cd3c631083534929282999c5023e1)

Author SHA1 Message Date
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 e7d9e5a0a8 closes issue #160 3 years ago
bhagwan 28f3bcac27 disable preview for binary files (closes issue #157) 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 9a24d8e466 lines with 'set nohidden' to show unloaded buffers (closes issue #159) 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 70c0337f8e default live_grep changed to native (no resume: 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 59d8f6eed5 add cursor location to jumplist (closes issue #147) 3 years ago
bhagwan a11f5eb9d4 rework fzf flags, close issue #149 3 years ago
bhagwan 1a2e198f1b added 'search' option for lines|blines (closes issue #146) 3 years ago
bhagwan 47f0671679 win autoclose option rework (should close issue #144) 3 years ago
bhagwan dc49182ea6 clear previous previewer on win reuse 3 years ago
bhagwan dcc8eaf295 added option to update the fzf command in window (issue #144) 3 years ago
bhagwan 5ba790c392 blines working again 3 years ago
bhagwan 7e946aa515 get the corrent lnum for multiple tabbed buffers 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 2dd5046455 prevent (and alert on) multiple instances of fzf-lua 3 years ago
bhagwan 2cd88dc855 terminal buffer preview workaround (hopefully closes issue #138) 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 f4e531b08a previow layout fixed with neovim nightly (closes issue #132) 3 years ago
bhagwan 7acb6826c1 ability to disable previewer for lines|blines 3 years ago
bhagwan 7c74fd8d80 marks invalid clipboard data fix 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 1e375cdb21 closes issue #129 3 years ago
bhagwan eb7973f926 yet another fix for preview scrollchar 3 years ago
bhagwan 983466c421 minor fix for scrollchar customization 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 329863d754 added marks builtin previewer 3 years ago
bhagwan 0feeb0fdbb more improvements to previewer interface for future extensions 3 years ago
bhagwan 1d3f8124bb live_grep remove search term from header 3 years ago
bhagwan 926e691ab7 default fzf binds for ctrl-d|u, ctrl-a|q combo changed to alt-a|q 3 years ago
ibhagwan c7f0200013
Merge pull request #125 from camilledejoye/improvement/lsp-provider-use-actions
LSP: 'jump_to_single_result' custom user action (closes issue #124)
3 years ago
bhagwan 1991beb6e8 live_grep defaults to 'continue_last_search', help|man preview mods 3 years ago
Camille Dejoye d500f86773 improvement: lsp provider uses actions 3 years ago
bhagwan df3804ed55 builtin previewer rework, added previewers for help_tags, man_pages 3 years ago
bhagwan 81ed9c4d6b git_branches: better remote branches detection 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
ibhagwan 71e105e081
Merge pull request #117 from jdrouhard/performance_improvements
More performance improvements
3 years ago
bhagwan 57ce1bff55 live_grep resume search is working again 3 years ago
bhagwan 0d24020629 live_grep escape hyphen, minor modification for 'sk' 3 years ago
bhagwan 9785cafd9a live_grep default changed to native (no resume) temporarily 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 eb19fb51ac added cwd to search headers, added headers to live_grep 3 years ago
bhagwan eaf465f9e9 grep, live_grep cwd relative path display 3 years ago
bhagwan 6fc53bc42e fzf_colors added to README 3 years ago
Bogdan Grigoruță f9415a00fe core: Add support for the fzf --color option 3 years ago
bhagwan 28f0adcfa3 grep: enable empty string search 3 years ago
bhagwan 2afab38370 sk live_grep single quote search fix 3 years ago
bhagwan 67b727bd8e better grep,live_grep search query continuation 3 years ago
bhagwan befdb5db85 files_resume flicker fix (within issue #103) 3 years ago
bhagwan 2de83f800e added icons to lines|blines 3 years ago
John Drouhard d04dc95a94 Slight cleanup in make_entry_file(); make buffer list pass correct filename to get_devicon() 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 fa70aa52f8 added 'lines' (closes issue #97) 3 years ago
bhagwan ae5fc09069 close preview when 'jump_to_single_result = true', also closes issue #105 3 years ago
bhagwan 7fc2c44bd3 compatibility with new LSP handlers (closes issue #109) 3 years ago
bhagwan 07288898af added 'files_resume' (issue #103) 3 years ago
bhagwan 137b246845 file_icon_padding, replace spaces with unicode invisible char 3 years ago
ibhagwan e94e2bb286
Merge pull request #104 from EdwarKenedy/file_icon_padding
Add file_icon_padding option
3 years ago
bhagwan ce30520aef closes #102 3 years ago
bhagwan 2617aa1587 added convenience function 'live_grep_resume' 3 years ago
Edwar Martinez 0f713785a0 Add file_icon_padding option 3 years ago
bhagwan 62024ecf9a live_grep saves last search term (closes issue #103) 3 years ago
bhagwan cc7828d4d2 lsp prompt lables respected again 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 5a66cae8ff live_grep further optimizations for empty string queries (both fzf|sk) 3 years ago
bhagwan 5fcbace5ba live_grep: do not perform empty string initial query (closes issue #92) 3 years ago
bhagwan 1837038f8e executed searches|commands will be added to history (closes issue #95) 3 years ago
bhagwan 8feda7fb9c added preview scrolling for terminal buffers 3 years ago
bhagwan 6c349939b8 lsp_code_actions should ignore jump_to_single_result (closes issue #93) 3 years ago
bhagwan 3527c8e532 added '--perl-regexp' to grep options (closest match to rg regex engine) 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
John Drouhard d34444e860 Builtin previewer: improve mechanism for backing up/restoring winopts
See :help local-options for more details, but essentially, we have to be
very careful with how we set window-local options on popup windows,
because buffers might take some window-local options from the last
window they were displayed in with them to the new window in certain
circumstances.

This commit changes the backup/restore for the window options so that
the possible window-local options that might get clobbered are saved
from the original active window and reapplied to the preview window just
before it's closed. This ensures any buffers loaded from the picker will
have the same window options applied that were in the active window when
fzf was opened.
3 years ago
bhagwan d8b5981e92 README: added lua keymap exmaple, removed commented `_G.dump`(s) 3 years ago
bhagwan a0f073950b misc previewer title display improvements, grep 'no_esc' option added 3 years ago
bhagwan 93ca0a3adf git_status preview now shows deleted and untracked files 3 years ago
ibhagwan 532cea4291
Merge pull request #90 from jdrouhard/better_git_cwd
Improve git commands so they always run in the git root directory
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
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 e3e6d2643b 'current_buffer_only' option to LSP providers (closes issue #80) 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 1b1de47c57 even better method for filetype detection, ty @jdrouhard! 3 years ago