restored 'window_on_create' to documentation

main
bhagwan 3 years ago
parent b9c03225a7
commit 1bfd897efb

@ -226,6 +226,12 @@ require'fzf-lua'.setup {
hl_normal = 'Normal', -- window normal color
hl_border = 'Normal', -- change to 'FloatBorder' if exists
fullscreen = false, -- start fullscreen?
window_on_create = function()
-- called once upon creation of the fzf main window
-- can be used to add custom fzf-lua mappings, e.g:
-- vim.api.nvim_buf_set_keymap(0, "t", "<C-j>", "<Down>",
-- { silent = true, noremap = true })
end,
},
keymap = {
-- These override the default tables completely

@ -260,6 +260,12 @@ Consult the list below for available settings:
hl_normal = 'Normal', -- window normal color
hl_border = 'Normal', -- change to 'FloatBorder' if exists
fullscreen = false, -- start fullscreen?
window_on_create = function()
-- called once upon creation of the fzf main window
-- can be used to add custom fzf-lua mappings, e.g:
-- vim.api.nvim_buf_set_keymap(0, "t", "<C-j>", "<Down>",
-- { silent = true, noremap = true })
end,
},
keymap = {
-- These override the default tables completely

Loading…
Cancel
Save