summaryrefslogtreecommitdiff
path: root/lua/ben/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ben/plugins')
-rw-r--r--lua/ben/plugins/gitignore.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/ben/plugins/gitignore.lua b/lua/ben/plugins/gitignore.lua
new file mode 100644
index 0000000..43ada5a
--- /dev/null
+++ b/lua/ben/plugins/gitignore.lua
@@ -0,0 +1,18 @@
+return {
+ "theniceboy/fzf-gitignore",
+ dependencies = {
+ {
+ "junegunn/fzf",
+ build = function()
+ vim.fn["fzf#install"]()
+ end,
+ },
+ },
+ build = function()
+ vim.cmd([[UpdateRemotePlugins]])
+ end,
+ filetype = "gitignore",
+ keys = {
+ { "<leader>gi", "<cmd>FzfGitignore<cr>" },
+ },
+}