summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--after/plugin/neorg.lua5
-rw-r--r--after/plugin/truezen.lua14
-rw-r--r--lua/core/plugins.lua1
3 files changed, 20 insertions, 0 deletions
diff --git a/after/plugin/neorg.lua b/after/plugin/neorg.lua
index af41a47..58dc358 100644
--- a/after/plugin/neorg.lua
+++ b/after/plugin/neorg.lua
@@ -40,6 +40,11 @@ neorg.setup {
engine = "nvim-cmp",
}
},
+ ["core.presenter"] = {
+ config = {
+ zen_mode = "truezen",
+ }
+ }
}
}
diff --git a/after/plugin/truezen.lua b/after/plugin/truezen.lua
new file mode 100644
index 0000000..fb2702f
--- /dev/null
+++ b/after/plugin/truezen.lua
@@ -0,0 +1,14 @@
+local status_ok, truezen = pcall(require, "true-zen")
+if not status_ok then
+ return
+end
+
+truezen.setup {
+ modes = {
+ ataraxis = {
+ minimum_writing_area = {
+ width = 85,
+ },
+ }
+ }
+}
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
index f08d4db..648df59 100644
--- a/lua/core/plugins.lua
+++ b/lua/core/plugins.lua
@@ -29,6 +29,7 @@ require 'dep' {
{ 'matbme/JABS.nvim' }, -- buffer switcher
{ 'ziontee113/icon-picker.nvim' }, -- icons
{ 'petertriho/nvim-scrollbar' },
+ { 'pocco81/true-zen.nvim' },
-- functional plugins -------------------------------------------------------
{ 'lewis6991/gitsigns.nvim' },