From 0d9d713f8fbe4f5bff7d2a06d8ba7ef4b8743009 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Sep 2023 22:09:42 -0400 Subject: Add flog plugin --- lua/ben/plugins/colorizer.lua | 2 +- lua/ben/plugins/flog.lua | 8 ++++++++ lua/ben/plugins/surround.lua | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 lua/ben/plugins/flog.lua diff --git a/lua/ben/plugins/colorizer.lua b/lua/ben/plugins/colorizer.lua index c29c9bb..08bd85c 100644 --- a/lua/ben/plugins/colorizer.lua +++ b/lua/ben/plugins/colorizer.lua @@ -1,4 +1,4 @@ return { "chrisbra/Colorizer", - event = "VeryLazy", + event = { "BufReadPre", "BufNewFile" }, } diff --git a/lua/ben/plugins/flog.lua b/lua/ben/plugins/flog.lua new file mode 100644 index 0000000..44ac8f9 --- /dev/null +++ b/lua/ben/plugins/flog.lua @@ -0,0 +1,8 @@ +return { + "rbong/vim-flog", + dependencies = { "tpope/vim-fugitive" }, + keys = { + { "gg", "Flog" }, -- G.it G.raph + { "gv", "Flogsplit" }, -- G.it V.ertical + }, +} diff --git a/lua/ben/plugins/surround.lua b/lua/ben/plugins/surround.lua index 8465f29..aef9e72 100644 --- a/lua/ben/plugins/surround.lua +++ b/lua/ben/plugins/surround.lua @@ -1,4 +1,5 @@ return { - 'tpope/vim-surround', - dependencies = 'tpope/vim-repeat' + "tpope/vim-surround", + dependencies = "tpope/vim-repeat", + event = { "BufReadPre", "BufNewFile" }, } -- cgit v1.2.3