Commit Graph

244 Commits

Author SHA1 Message Date
bhagwan
fd497f313d internal 'live_grep' modifications (hopefully solves #185) 2021-10-15 14:16:55 -07:00
bhagwan
30f50017bf internal: renamed 'cb_pid' -> 'pid_cb' 2021-10-14 11:49:21 -07:00
bhagwan
69b70ec2ec terminate initial command when fzf is closed (issue #187) 2021-10-14 11:22:47 -07:00
bhagwan
c0d533f4d0 man previewer: 'col -b' -> 'col -bx' 2021-10-13 14:27:16 -07:00
Bartosz Mąka
9b5fd877e0 Add pager option and pipe cmd to pager if exists
git_diff pager: check for empty string
2021-10-11 15:43:17 -07:00
bhagwan
11c369316f internal: moved preview delay under 'winopts.preview.delay' 2021-10-11 15:22:13 -07:00
bhagwan
f322d59653 added customization to man previewer cmd 2021-10-11 15:15:19 -07:00
ibhagwan
d8630ff38b
Merge pull request #183 from megalithic/main
fix(): update default preview config to `'border'` from `'float'`.
2021-10-11 13:10:01 -07:00
Seth Messer
1faf5e02e0 fix(): update default preview config to 'border' from 'float'.
Was throwing the following:
`[Fzf-lua] fzf error 2: invalid preview window option: float`

Now matches the docs.
2021-10-11 15:00:06 -05:00
bhagwan
3d1b8d0c06 better 'man_pages' preview (no hacky win, issue #175) 2021-10-11 11:17:57 -07:00
bhagwan
4b9b719491 added 'noautocmd' to 'help_tags' to prevent oddities (issue #175) 2021-10-11 06:21:52 -07:00
bhagwan
96d772fe84 adjust max_height according to vim.o.cmdheight (issue #180) 2021-10-11 05:14:32 -07:00
bhagwan
544d5eabc8 new preview scrollbar option and highlights, win|preview options rework 2021-10-11 01:23:00 -07:00
bhagwan
e9c70a8d9f bugfix: code action not applied properly (closes issue #179) 2021-10-10 11:41:02 -07:00
bhagwan
7025700c66 properly detect LSP client after LSP restart (closes issue #174) 2021-10-09 12:50:57 -07:00
bhagwan
2c04f7495f default map 'ctrl-z' to 'abort' (closes issue #172) 2021-10-07 08:35:00 -07:00
bhagwan
913c3c650d better error handling of fzf exit status (nvim-fzf PR #36) 2021-10-06 15:45:55 -07:00
bhagwan
76b6a994b8 reverted syntax highlighting location (after file read) 2021-10-06 15:09:30 -07:00
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