Skip to content

Commit ebdf242

Browse files
author
Github Actions
committed
[docgen] CI: autogenerate vimdoc
skip-checks: true
1 parent fd61609 commit ebdf242

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

doc/fzf-lua.txt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,6 @@ Alternatively, resuming work on a specific picker:
194194
-- or
195195
:FzfLua files resume=true
196196
<
197-
[!TIP] By default pressing esc or ctrl-c terminates the fzf process, as such
198-
resume is not perfect and is limited to resuming the picker/query and
199-
sometimes additional parameters such as regex in grep, etc, for a more
200-
complete resume use the "hide" profile, this will modify the esc bind to hide
201-
fzf-lua and keep the fzf process running in the background allowing `:FzfLua
202-
resume` to restore the picker state entirely, including cursor position and
203-
selection. To configure hiding by default:
204-
>lua
205-
require("fzf-lua").setup({
206-
> "hide",
207-
> -- your other settings here
208-
> })
209-
<
210-
211197

212198

213199
COMBINING PICKERS *fzf-lua-combining-pickers*
@@ -1406,6 +1392,18 @@ the first argument:
14061392
>lua
14071393
:lua require"fzf-lua".setup({{"telescope","fzf-native"},winopts={fullscreen=true}})
14081394
<
1395+
[!TIP] The default profile is a combination of border-fused+hide profiles,
1396+
without the "hide" profile pressing esc terminates the fzf process which makes
1397+
for an imperfect resume limited to resuming only the picker/query (without
1398+
cursor position, selection, etc), to restore the default esc behavior combine
1399+
any existing profile with "hide" by using a table in `opts[1]`:
1400+
>lua
1401+
require("fzf-lua").setup({
1402+
> { "fzf-native", "hide" },
1403+
> -- your other settings here
1404+
> })
1405+
<
1406+
14091407

14101408

14111409
COMING FROM FZF.VIM? *fzf-lua-coming-from-fzf.vim?*

0 commit comments

Comments
 (0)