From ac069fd543e78c0b99fc97ff123533e353eb297d Mon Sep 17 00:00:00 2001 From: alternateved Date: Mon, 5 Jul 2021 14:57:27 +0200 Subject: [PATCH 1/2] Update TrueZen.nvim configuration file --- lua/zenmode.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/zenmode.lua b/lua/zenmode.lua index e98c5357..ba75a448 100644 --- a/lua/zenmode.lua +++ b/lua/zenmode.lua @@ -74,3 +74,4 @@ M.autoSave = function() end return M + From 8355a055d1887e607607234f6a15712eebb6bd3a Mon Sep 17 00:00:00 2001 From: alternateved Date: Mon, 5 Jul 2021 15:01:50 +0200 Subject: [PATCH 2/2] Rework TrueZen.nvim configuration file --- lua/zenmode.lua | 68 +++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/lua/zenmode.lua b/lua/zenmode.lua index ba75a448..3f679d7d 100644 --- a/lua/zenmode.lua +++ b/lua/zenmode.lua @@ -5,51 +5,54 @@ local M = {} M.config = function() local true_zen = require("true-zen") - true_zen.setup( - { - true_false_commands = false, + true_zen.setup({ + misc = { + on_off_commands = false, + ui_elements_commands = false, cursor_by_mode = false, before_minimalist_mode_shown = true, before_minimalist_mode_hidden = true, after_minimalist_mode_shown = true, after_minimalist_mode_hidden = true, + }, + ui = { bottom = { - hidden_laststatus = 0, - hidden_ruler = false, - hidden_showmode = false, - hidden_showcmd = false, - hidden_cmdheight = 1, - shown_laststatus = 2, - shown_ruler = true, - shown_showmode = false, - shown_showcmd = false, - shown_cmdheight = 1 + laststatus = 0, + ruler = false, + showmode = false, + showcmd = false, + cmdheight = 1, }, top = { - hidden_showtabline = 0, - shown_showtabline = 2 + showtabline = 0, }, left = { - hidden_number = false, - hidden_relativenumber = false, - hidden_signcolumn = "no", - shown_number = true, - shown_relativenumber = false, - shown_signcolumn = "yes" + number = false, + relativenumber = false, + signcolumn = "no", }, + }, + modes = { ataraxis = { - just_do_it_for_me = false, - left_padding = 37, - right_padding = 37, - top_padding = 2, - bottom_padding = 2, - custome_bg = "#1e222a" + left_padding = 37, + right_padding = 37, + top_padding = 2, + bottom_padding = 2, + just_do_it_for_me = false, + ideal_writing_area_width = 0, + keep_default_fold_fillchars = true, + custome_bg = "#1e222a", }, - integrations = { - integration_galaxyline = true - } - } - ) + focus = { + margin_of_error = 5, + focus_method = "experimental" + }, + }, + integrations = { + galaxyline = true, + nvim_bufferline = true, + } + }) end -- autosave.nvim plugin disabled by default @@ -74,4 +77,3 @@ M.autoSave = function() end return M -