Skip to content

true-zen.nvim rewrite: everything changed #84

@pocco81

Description

@pocco81

Hello! I decided to rewrite true-zen entirely from scratch because I really disliked the state of the code-base

Reasons:

  • Had vimscript in it
  • Slow
  • Most stuff was done through cmd calls
  • Obnoxious to configure (too many settings, too little plug and play)
  • Too much code
  • Not quite so universal

This rewrite features:

  • 100% lua
  • Very fast
  • Better handling of api calls
  • The plugin got way smaller in size (from 2141 to 850 LOC)
  • Universal: now there is no need to have an integration for every statusline plugin, it should be pretty much compatible with any plug that follows vim.o.statusline
  • Smaller doc
  • An actual plug-and-play experience
  • Smarter callbacks for further customization
  • 4 different modes to unclutter your screen:
    • Ataraxis: good ol' zen mode
    • Minimalist: disable ui components (e.g. numbers, tabline, statusline)
    • Narrow: narrow a text region for better focus
    • Focus: focus the current window

Demo

true_zen_demo.mp4

What about previous issues?

Since this is technically a brand new plugin I'll be closing old issues since they don't have no place in this new environment. Furthermore, this new rewrite does not support backwards compatibility with older true-zen setups.

Enjoy! 🎉

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions