add truezen and misc. update

This commit is contained in:
juan 2021-11-13 16:10:05 +08:00
parent 9f58d7de20
commit 96ce0dbbae
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7
3 changed files with 77 additions and 2 deletions

View File

@ -131,6 +131,11 @@ return require('packer').startup(function(use)
} }
-- eye-candy -- eye-candy
use {
"Pocco81/TrueZen.nvim",
cmd = {'TZAtaraxis', 'TZFocus', 'TZMinimalist'},
config = function() require "plugins.truezen" end
}
use { use {
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
after = {"nvim-treesitter", "nvim-base16"}, after = {"nvim-treesitter", "nvim-base16"},
@ -154,7 +159,7 @@ return require('packer').startup(function(use)
} }
use { use {
'norcalli/nvim-colorizer.lua', 'norcalli/nvim-colorizer.lua',
event = "VimEnter", cmd = 'ColorizerToggle',
config = function() require'colorizer'.setup() end config = function() require'colorizer'.setup() end
} }

View File

@ -1,5 +1,5 @@
require("indent_blankline").setup { require("indent_blankline").setup {
buftype_exclude = {"terminal", "help", "packer"}, buftype_exclude = {"terminal", "help", "packer", "NvimTree", "tagbar"},
char = "", char = "",
space_char_blankline = ' ', space_char_blankline = ' ',
max_indent_increase = 2, max_indent_increase = 2,

70
lua/plugins/truezen.lua Normal file
View File

@ -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,
}
})