From 2b0efdf448f3e8778efa2fe355e9abf495d440c7 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 12 Oct 2023 11:17:16 -0400 Subject: Use fzf to generate gitignore --- lua/ben/plugins/gitignore.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/ben/plugins/gitignore.lua (limited to 'lua') 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 = { + { "gi", "FzfGitignore" }, + }, +} -- cgit v1.2.3