plantuml-previewer.vim
lite
plantuml-previewer.vim | lite | |
---|---|---|
1 | 30 | |
252 | 7,297 | |
- | - | |
2.2 | 0.0 | |
about 1 year ago | 8 months ago | |
Vim Script | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
plantuml-previewer.vim
-
Lite: A lightweight text editor written in Lua
> Installing it in vim is going on shopping spree for a car first, then using the car to go on shopping spree using that car.
Again, I think you're coming from a place of a lot of experience w/ VSCode and less in Vim. I needed PlantUML for something, so I:
- Googled for 'vim plantuml'
- Went to https://github.com/weirongxu/plantuml-previewer.vim
- Added "Plug 'weirongxu/plantuml-previewer.vim'" and "Plug 'akit/plantuml-syntax'" to my init.vim
- Ran ":source ~/.config/nvim/init.vim"
- Ran ":PlugInstall"
At least to me, this is the same as opening up the plugin catalog in VSCode and picking stuff.
---
I do a lot of varied development across different tech too: React, C, Svelte, Python/FastAPI/Django, Go, Lua, various SQLs, protobufs, JSON, CSVs... just all kinds of stuff. I've found Vim to not only be adequate, but excel. Maybe VSCode is great at all of these things, but that's not my point. My point is Vim works for me in the case you're describing, lots of different kinds of development on several different platforms.
> The thing here is magically enough vscode does a lot of things really well out of the box.
I think this is maybe the crux of our disagreement: you're pretty anti-config. I'm not wild about config either, some people's .vimrc files make me shudder, and when I learned about EMACS config bankruptcy I laughed out loud haha. But like, I like that I can set my default tabstop and shiftwidth, or change it per-language. I like that I can set hlsearch and incsearch. And I like that I can drop my config on almost any machine running and I'm in my element. There's a balance to strike, for sure, and maybe it is nice to sort of live out of a suitcase for your work life as it were. But for me, I've enjoyed decorating my work home.
lite
-
TextAdept
Another small, minimalist Lua-based text editor is Lite[1], and it's much less "light" cousin Lite-XL[2]
1: https://github.com/rxi/lite
2: https://github.com/lite-xl/lite-xl
-
A Love Letter to Tinkerable Software
Playing with browser developer tools and always seeing obfuscated JavaScript makes me sad. I'm not a web developer, but I suspect the security gained is low enough to fall within the author's "unnecessary constraints."
On the other hand, there are projects like https://github.com/rxi/lite
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
Beyond the rendering which as noted is nothing that hasn't been done before (in general) the inherent OT/multi user + tree sitter functionality is something that entices me.
I'm surprised nobody pointed out lite/litexl here either it's rendering of ui is very similar (although fonts are via a texture; like a game would) and doesn't focus overly on the GPU but optimises those paths like games circa directx9/opengl 1.3
https://github.com/rxi/lite/blob/master/src/renderer.h
-
Minimal Cross-Platform Graphics
> is using pure software rendering (on top of SDL) in a rather naïve fashion
https://github.com/rxi/lite/blob/master/src/rencache.c#L4
I think you'll find that they found the naive approach was sufficiently poor, performance wise, that additional optimizations had to be applied on-top.
> But for quick hacking / porting old demos / writing emulators and also text based UI it can be fast enough.
/shrug
If you want to use it, use it. It's 'good enough'...
> if you vastly lower your expectations
- Lite: A lightweight text editor written in Lua
-
Looking for an IDE with the following characteristics
How about lite https://github.com/rxi/lite
-
Now that Atom has been discontinued - where to next?
You have options: - Sublime Text - VsCodium - Lite - https://github.com/rxi/lite
- 4coder editor is now fully open source
-
Lapce
I like the single lapce.exe and loads reasonably fast.
But this is in a pre pre-alpha stage, so many bugs it's far too early for public feedback. It loads reasonably fast except chrome stats in top left then jerks towards the center. The start page says to bring up the command palette which I was unable to navigate via keyboard.
The open file dialog takes an eternity to load the first time, the path is in a text box that's not editable. Focusing a text file gives an Insert cursor which is in text mode, there's a noticable slow delay before writing the first character, text selection is non existent so lacks basic text editing features.
There is a built-in terminal however there's only a single tab.
The only thing that gives it potential is that the folder/file browsing is super quick even with a node_modules folder so it might be built on efficient rendering that can be improved.
Even for such a basic editor it's 38mb download. For a far smaller + more complete editor checkout Lite:
https://github.com/rxi/lite
What are some alternatives?
Visual Studio Code - Visual Studio Code
lite-xl - A lightweight text editor written in Lua
scintillua - Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
write-xl - A set of plugins for Lite XL that make the editor appropriate for creative writing.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
Apache NetBeans - Apache NetBeans
textadept - Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
theia - Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
Geany - A fast and lightweight IDE
LSP-pyright - Python support for Sublime's LSP plugin provided through microsoft/pyright.