We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vim.keymap.set
1 parent 1e972f4 commit 3f48dbdCopy full SHA for 3f48dbd
1 file changed
README.md
@@ -55,15 +55,15 @@ FFF.nvim requires:
55
opts = { -- (optional)
56
-- pass here all the options
57
},
58
- keys = { -- (optional)
59
- {
60
- "ff", -- try it if you didn't it is a banger keybinding for a picker
61
- function()
62
- require("fff").find_files() -- or find_in_git_root() if you only want git files
63
- end,
64
- desc = "Open file picker",
65
- },
66
+ -- No need to lazy-load with lazy.nvim.
+ -- This plugin initializes itself lazily.
+ lazy = false,
+ init = function()
+ -- try it if you didn't it is a banger keybinding for a picker
+ vim.keymap.set("n", "ff", function()
+ require("fff").find_files() -- or find_in_git_root() if you only want git files
+ end, { desc = "Open file picker" })
+ end,
67
}
68
```
69
0 commit comments