summaryrefslogtreecommitdiff
path: root/lua/ben/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ben/plugins')
-rw-r--r--lua/ben/plugins/blamer.lua28
-rw-r--r--lua/ben/plugins/fern.lua19
-rw-r--r--lua/ben/plugins/lf.lua12
-rw-r--r--lua/ben/plugins/neorg.lua16
4 files changed, 41 insertions, 34 deletions
diff --git a/lua/ben/plugins/blamer.lua b/lua/ben/plugins/blamer.lua
index 455db33..243a8a7 100644
--- a/lua/ben/plugins/blamer.lua
+++ b/lua/ben/plugins/blamer.lua
@@ -1,16 +1,16 @@
return {
- -- Only load if on a compatible OS and git is installed
- cond = function()
- local goodOS = (vim.fn.has("linux") == 1) or (vim.fn.has("mac") == 1)
- local hasGit = vim.fn.executable("git") == 1
- return goodOS and hasGit
- end,
- "APZelos/blamer.nvim",
- config = function()
- vim.g.blamer_enabled = 1
- vim.g.blamer_delay = 500
- vim.g.blamer_template = "<committer>, <committer-time> • <summary>"
- vim.g.blamer_prefix = ">"
- end,
- cmd = { "BlamerToggle", "BlamerShow" },
+ "APZelos/blamer.nvim",
+ -- Only load if on a compatible OS and git is installed
+ cond = function()
+ local goodOS = (vim.fn.has("linux") == 1) or (vim.fn.has("mac") == 1)
+ local hasGit = vim.fn.executable("git") == 1
+ return goodOS and hasGit
+ end,
+ config = function()
+ vim.g.blamer_enabled = 1
+ vim.g.blamer_delay = 500
+ vim.g.blamer_template = "<committer>, <committer-time> • <summary>"
+ vim.g.blamer_prefix = ">"
+ end,
+ cmd = { "BlamerToggle", "BlamerShow" },
}
diff --git a/lua/ben/plugins/fern.lua b/lua/ben/plugins/fern.lua
deleted file mode 100644
index b120125..0000000
--- a/lua/ben/plugins/fern.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-return {
- "lambdalisue/fern.vim",
- dependencies = {
- "TheLeoP/fern-renderer-web-devicons.nvim",
- "lambdalisue/fern-git-status.vim",
- "lambdalisue/fern-hijack.vim",
- "lambdalisue/fern-bookmark.vim",
- "lambdalisue/fern-ssh",
- },
- config = function()
- vim.g["fern#renderer"] = "nvim-web-devicons"
- -- Store bookmarks in $XDG_CONFIG_HOME/nvim/fern-bookmarks
- vim.g["fern#scheme#bookmark#store#file"] = vim.fn.stdpath("config") .. "/fern-bookmarks"
- end,
- keys = {
- { "<leader>fm", "<cmd>Fern -drawer .<cr>" },
- { "<leader>fb", "<cmd>Fern bookmark:///<cr>" },
- },
-}
diff --git a/lua/ben/plugins/lf.lua b/lua/ben/plugins/lf.lua
new file mode 100644
index 0000000..fc79cac
--- /dev/null
+++ b/lua/ben/plugins/lf.lua
@@ -0,0 +1,12 @@
+return {
+ "lmburns/lf.nvim",
+ dependencies = {
+ { "akinsho/toggleterm.nvim", version = "*", config = true },
+ },
+ config = {
+ border = "rounded",
+ },
+ keys = {
+ { "<leader>lf", "<cmd>Lf<cr>" },
+ },
+}
diff --git a/lua/ben/plugins/neorg.lua b/lua/ben/plugins/neorg.lua
index 4e89973..ece2a53 100644
--- a/lua/ben/plugins/neorg.lua
+++ b/lua/ben/plugins/neorg.lua
@@ -9,7 +9,21 @@ return {
require("neorg").setup({
load = {
["core.defaults"] = {}, -- Loads default behaviour
- ["core.concealer"] = {}, -- Adds pretty icons to your documents
+ ["core.export"] = {}, -- Loads default behaviour
+ ["core.concealer"] = {
+ config = {
+ icons = {
+ heading = {
+ icons = {
+ "",
+ "",
+ "",
+ "",
+ },
+ },
+ },
+ },
+ }, -- Adds pretty icons to your documents
["core.integrations.telescope"] = {},
["core.dirman"] = { -- Manages Neorg workspaces
config = {