Skip to content

woosaaahh/zenith.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Zenith

Zenith is a lightweight zen-mode plugin.

Requirements

To use this plugin, you need :

  • to have Neovim 0.8+ version installed ;
  • to add woosaaahh/zenith.nvim in your plugin manager configuration ;

Here are some plugin managers :

Usage

Just assign zenith.toggle() to a keymap and press this keymap.

e.g. vim.keymap.set("n", "<leader>z", require("zenith").toggle)

Configuration

Here is the default configuration :

local options = {
	nvim = {
		cmdheight = 1,
		colorcolumn = false,
		foldcolumn = "0",
		laststatus = 0,
		number = false,
		relativenumber = false,
		ruler = false,
		scrolloff = 0,
		shortmess = "acsF",
		showcmd = false,
		showmode = false,
		sidescrolloff = 0,
		signcolumn = "no",
		wrap = false,
	},

	-- on_open = function()
	-- 	print("Zenith mode one")
	-- end,
	-- on_close = function()
	-- 	print("Zenith mode off")
	-- end,
}

About

Zenith is a lightweight zen-mode plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages