feat(nvim): add and start configuring zen-mode

Fixes: #21
This commit is contained in:
Oliver Davies 2022-01-08 12:32:43 +00:00
parent 0af604c8c5
commit 3950a25f2e
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,8 @@
local status_ok, twilight = pcall(require, "twilight")
if not status_ok then
return
end
twilight.setup {
context = 2,
}

View file

@ -0,0 +1,25 @@
local status_ok, zen_mode = pcall(require, "zen-mode")
if not status_ok then
return
end
zen_mode.setup {
window = {
backdrop = .95,
height = 1,
width = 120,
options = {
relativenumber = false,
number = false,
signcolumn = "no",
}
},
plugins = {
options = {
enabled = true,
ruler = false,
},
gitsigns = { enabled = true },
tmux = { enabled = true },
}
}

View file

@ -19,6 +19,8 @@ return packer.startup(function()
use 'christoomey/vim-sort-motion'
use 'christoomey/vim-tmux-navigator'
use 'editorconfig/editorconfig-vim'
use 'folke/twilight.nvim'
use 'folke/zen-mode.nvim'
use 'icatalina/vim-case-change'
use 'kyazdani42/nvim-web-devicons'
use 'lewis6991/gitsigns.nvim'