Commit Graph

376 Commits

Author SHA1 Message Date
bhagwan
846497bb92 fixed possible race condition on preview close 2021-10-06 14:15:21 -07:00
bhagwan
1bfd897efb restored 'window_on_create' to documentation 2021-10-06 12:52:38 -07:00
bhagwan
b9c03225a7 added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob' 2021-10-06 09:48:40 -07:00
bhagwan
3b24fe4f39 added cmd_fn option for 'grep' providers (to enable '--iglob' support) 2021-10-06 02:24:58 -07:00
bhagwan
56885088e9 fix preview win highlights in 'buffers' (issue #169) 2021-10-06 01:19:42 -07:00
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 })`
2021-10-05 21:54:55 -07:00
bhagwan
3f4d57bec6 removed '--reflog' from commit|bcommit commands 2021-10-05 10:48:52 -07:00
bhagwan
275a351c98 added 'args.files_only' to README 2021-10-05 08:55:46 -07:00
bhagwan
cc74396e8f added 'args' provider 2021-10-05 08:43:28 -07:00
bhagwan
67163f4c5f better handling of 'cwd' in 'live_rg' (should solve issue #166) 2021-10-04 20:35:32 -07:00
bhagwan
510aca8658 restored preview binary test using perl '-B' 2021-10-04 14:31:42 -07:00
bhagwan
9454bcbad9 temp disable of binary preview test, match preview delay with fzf native 2021-10-04 13:50:32 -07:00
bhagwan
29ae04d73f added 60ms delay before builtin preview (issue #164)
delay can be controlled (or disabled) by setting
'previewers.builtin.delay'
2021-10-04 12:50:00 -07:00
bhagwan
5bdb213558 enable syntax highlighting before file read (closes issue #162) 2021-10-04 12:07:48 -07:00
bhagwan
dca31060e2 added keybinds to rotate builtin preview clockwise/counter-clockwise 2021-10-04 11:32:14 -07:00
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
2021-10-04 10:36:46 -07:00
bhagwan
e7d9e5a0a8 closes issue #160 2021-10-03 18:00:14 -07:00
bhagwan
0663deb841 removed screenshots, added screencast demo 2021-10-03 17:19:21 -07:00
bhagwan
28f3bcac27 disable preview for binary files (closes issue #157) 2021-10-02 23:42:54 -07:00
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.
2021-10-02 22:42:02 -07:00
bhagwan
9a24d8e466 lines with 'set nohidden' to show unloaded buffers (closes issue #159) 2021-10-02 15:25:47 -07:00
bhagwan
7243918bdd Default border color set to 'Normal', minor 'git_diff' fix 2021-10-02 14:09:53 -07:00
bhagwan
fdae33b047 live_grep_resume performance (closes issue #154) 2021-09-26 22:40:16 -07:00
bhagwan
70c0337f8e default live_grep changed to native (no resume: issue #154) 2021-09-26 12:00:34 -07:00
bhagwan
940415f836 tabs fixed, added descriptive error message for bad fzf flags 2021-09-22 11:51:47 -07:00
bhagwan
4e196386e9 ignore colors unless specified 2021-09-21 17:44:16 -07:00
bhagwan
59d8f6eed5 add cursor location to jumplist (closes issue #147) 2021-09-21 17:09:49 -07:00
bhagwan
a11f5eb9d4 rework fzf flags, close issue #149 2021-09-21 16:16:29 -07:00
bhagwan
1a2e198f1b added 'search' option for lines|blines (closes issue #146) 2021-09-20 19:59:03 -07:00
bhagwan
47f0671679 win autoclose option rework (should close issue #144) 2021-09-20 15:05:12 -07:00
bhagwan
892990262d README update, doc helpfile added 2021-09-19 19:04:55 -07:00
bhagwan
dc49182ea6 clear previous previewer on win reuse 2021-09-19 02:08:23 -07:00
bhagwan
dcc8eaf295 added option to update the fzf command in window (issue #144) 2021-09-19 00:34:06 -07:00
bhagwan
5ba790c392 blines working again 2021-09-18 21:58:28 -07:00
bhagwan
7e946aa515 get the corrent lnum for multiple tabbed buffers 2021-09-18 21:27:36 -07:00
bhagwan
b30ce12b77 'tabs' improvements 2021-09-18 13:15:47 -07:00
bhagwan
c4a829e83e added 'buffers' 2021-09-17 20:00:16 -07:00
bhagwan
f3f373beaf better cwd param handling for files|files_resume 2021-09-17 01:44:51 -07:00
bhagwan
2dd5046455 prevent (and alert on) multiple instances of fzf-lua 2021-09-16 08:57:19 -07:00
bhagwan
2cd88dc855 terminal buffer preview workaround (hopefully closes issue #138) 2021-09-16 01:24:50 -07:00
bhagwan
38334ff1ef live_lsp_workspace_symbols fix for C-lang (closes issue #137) 2021-09-15 18:01:34 -07:00
bhagwan
6708e58caf minor internal function rename 2021-09-13 20:55:31 -07:00
bhagwan
c876f8315a lsp_live_workspace_symbols rework, better API for live commands 2021-09-13 19:25:38 -07:00
bhagwan
f4e531b08a previow layout fixed with neovim nightly (closes issue #132) 2021-09-13 14:05:59 -07:00
bhagwan
7acb6826c1 ability to disable previewer for lines|blines 2021-09-12 03:36:30 -07:00
bhagwan
7c74fd8d80 marks invalid clipboard data fix 2021-09-12 01:51:55 -07:00
bhagwan
8871e7485a perf improvement for system commands (issue #126) 2021-09-11 23:28:07 -07:00
bhagwan
dffe7ff56b git_icons and git_status improvements 2021-09-11 21:26:04 -07:00
bhagwan
1e375cdb21 closes issue #129 2021-09-11 10:03:26 -07:00
bhagwan
eb7973f926 yet another fix for preview scrollchar 2021-09-10 19:49:41 -07:00