diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 4503a6f..e411eec 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -131,6 +131,11 @@ return require('packer').startup(function(use) } -- eye-candy + use { + "Pocco81/TrueZen.nvim", + cmd = {'TZAtaraxis', 'TZFocus', 'TZMinimalist'}, + config = function() require "plugins.truezen" end + } use { "lukas-reineke/indent-blankline.nvim", after = {"nvim-treesitter", "nvim-base16"}, @@ -154,7 +159,7 @@ return require('packer').startup(function(use) } use { 'norcalli/nvim-colorizer.lua', - event = "VimEnter", + cmd = 'ColorizerToggle', config = function() require'colorizer'.setup() end } diff --git a/lua/plugins/indent-blankline.lua b/lua/plugins/indent-blankline.lua index 4601803..4222157 100644 --- a/lua/plugins/indent-blankline.lua +++ b/lua/plugins/indent-blankline.lua @@ -1,5 +1,5 @@ require("indent_blankline").setup { - buftype_exclude = {"terminal", "help", "packer"}, + buftype_exclude = {"terminal", "help", "packer", "NvimTree", "tagbar"}, char = "▏", space_char_blankline = ' ', max_indent_increase = 2, diff --git a/lua/plugins/truezen.lua b/lua/plugins/truezen.lua new file mode 100644 index 0000000..98432b5 --- /dev/null +++ b/lua/plugins/truezen.lua @@ -0,0 +1,70 @@ +local true_zen = require("true-zen") + +true_zen.setup({ + ui = { + bottom = { + laststatus = 0, + ruler = false, + showmode = false, + showcmd = false, + cmdheight = 1, + }, + top = { + showtabline = 0, + }, + left = { + number = false, + relativenumber = false, + signcolumn = "no", + }, + }, + modes = { + ataraxis = { + left_padding = 24, + right_padding = 24, + top_padding = 1, + bottom_padding = 1, + ideal_writing_area_width = {0}, + auto_padding = true, + keep_default_fold_fillchars = true, + custom_bg = {"none", ""}, + bg_configuration = true, + quit = "untoggle", + ignore_floating_windows = true, + affected_higroups = { + NonText = true, + FoldColumn = true, + ColorColumn = true, + VertSplit = true, + StatusLine = true, + StatusLineNC = true, + SignColumn = true, + }, + }, + focus = { + margin_of_error = 5, + focus_method = "experimental" + }, + }, + integrations = { + vim_gitgutter = false, + galaxyline = false, + tmux = false, + gitsigns = false, + nvim_bufferline = false, + limelight = false, + twilight = false, + vim_airline = false, + vim_powerline = false, + vim_signify = false, + express_line = false, + lualine = true, + lightline = false, + feline = false + }, + misc = { + on_off_commands = false, + ui_elements_commands = false, + cursor_by_mode = false, + } +})