Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

true-zen.nvim rewrite: everything changed #84

Closed
pocco81 opened this issue Jul 30, 2022 · 0 comments
Closed

true-zen.nvim rewrite: everything changed #84

pocco81 opened this issue Jul 30, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@pocco81
Copy link
Owner

pocco81 commented Jul 30, 2022

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant