Live data from Hacker News

Vis: A Vim-Like Text Editor

github.com

101–110 of 166 posts

Re: Vis: A Vim-Like Text Editor

#101

What would be the advantage of using it over vim? I am just curious. One thing I found is huge file support that would be definitely good but not sure about the rest.

The promise is that given it's a new, modern codebase, it could quickly outpace vim in capabilities and usability. Vim's legacy is what is holding the editor back from major improvements.

What are the major improvements that cannot be added to Vim due to its legacy codebase? Honest question from a longtime vimmer.

Re: Vis: A Vim-Like Text Editor

#102
post #50

Kudos to the developers for listing non goals. Too many software projects lose focus and become bloated because they take on features that are secondary to the main purpose. Projects may refrain from listing non goals for fear of excluding people who may want some of those features. And looking at the list, there are some pretty nice features excluded. For example network support, or editing compressed or tar files.…

The great thing about vim is that it'll always be there as a fallback.

I keep a file with my passwords, encrypted with Vim's builtin encryption. Neovim removed that feature. If I ever switch to neovim, I can still use vim when I need to open that file.

Re: Vis: A Vim-Like Text Editor

#103
post #91

More people should definitely try out sam and 9term as examples of how much code/features you don't really need and can still get real work done. Personally, I wish sam had even less complexity and features than it currently does and thus be more understandable and hackable. Also, never going back to a normal terminal again, "dumb" terminals are awesome. And actually, this experience has lead to a philosophy of softw…

Yeah. I've been using Acme for awhile now. While Acme itself is nice, what I really like is the B/E editor embedded in it. It's just a very simple editor that can be extended with _external_ programs. Finally, I've come to appreciate using a mouse with my editor. Until I completely got rid of using most keyboard shortcuts (other than the most basic ones), I didn't realize how much cognitive taxes I was paying to reta…

What does B/E stand for?

Re: Vis: A Vim-Like Text Editor

#104
post #50

Kudos to the developers for listing non goals. Too many software projects lose focus and become bloated because they take on features that are secondary to the main purpose. Projects may refrain from listing non goals for fear of excluding people who may want some of those features. And looking at the list, there are some pretty nice features excluded. For example network support, or editing compressed or tar files.…

The great thing about vim is that it'll always be there as a fallback. I keep a file with my passwords, encrypted with Vim's builtin encryption. Neovim removed that feature. If I ever switch to neovim, I can still use vim when I need to open that file.

Maybe it's even better if you migrate your password file to a credible implementer of crypto. Like gpg.

Re: Vis: A Vim-Like Text Editor

#105
post #89
post #54

Earlier quoted context omitted.

Can we please try to stop talking about this specific language ecosystem as an awful deplorable hell hole or whatever?

> Can we please try to stop talking about this specific language ecosystem as an awful deplorable hell hole or whatever? Back in the second century BC, Cato the Elder ended his speeches with the phrase 'Carthago delenda est,' which is to say, 'Carthage must be destroyed.' It didn't matter what the ostensible topic of the speech was: above all, Carthage must be destroyed. My opinion towards JavaScript is much like Cat…

I would disagree with you on a variety of levels, but the phrasing and effort you put into that are impressive. Please have an upvote, and this has gone into my quotes file.

Re: Vis: A Vim-Like Text Editor

#106
post #55
post #25

Earlier quoted context omitted.

Great! I remember last time I looked at Vis it wasn't so far along (it had no Lua integration AFAIK). When I started submitting code to Neovim my biggest desires for it were (1) Lua extensibility (2) A clean codebase (3) Compatibility with (most) Vim plugins. Perhaps ZyX-l's Vim to Lua project (for Neovim) could help with (3) at some point, if that's desired. An LPeg based syntax highlighting was also something in th…

Does this kind of PEG parser deal somewhat decently with partial or incorrect syntax trees?

[deleted]

Re: Vis: A Vim-Like Text Editor

#107
post #55
post #25

Earlier quoted context omitted.

Great! I remember last time I looked at Vis it wasn't so far along (it had no Lua integration AFAIK). When I started submitting code to Neovim my biggest desires for it were (1) Lua extensibility (2) A clean codebase (3) Compatibility with (most) Vim plugins. Perhaps ZyX-l's Vim to Lua project (for Neovim) could help with (3) at some point, if that's desired. An LPeg based syntax highlighting was also something in th…

Does this kind of PEG parser deal somewhat decently with partial or incorrect syntax trees?

The parser will match the specified grammar exactly, like it should. You could of course specify a grammar that is broader than the actual language you are parsing.

Re: Vis: A Vim-Like Text Editor

#108

I note that with the exception of the sam code (which unfortunately uses the Lucent Public License Version 1.02, this editor is very liberally licensed (ISC/MIT/CC0). If the sam code is optional or easily replaced, this could evolve to become a serious, modern text editor with a truly liberal license (something surprisingly absent from the current landscape, to the best of my knowledge - I've done a couple searches f…

nvi? https://sites.google.com/a/bostic.com/keithbostic/vi/

Sure it doesn't have the features of Vim or Emacs (and some would say that's a feature!), but it's perfectly serviceable if you're okay with vi's modality.

Re: Vis: A Vim-Like Text Editor

#109

Earlier quoted context omitted.

The great thing about vim is that it'll always be there as a fallback. I keep a file with my passwords, encrypted with Vim's builtin encryption. Neovim removed that feature. If I ever switch to neovim, I can still use vim when I need to open that file.

Maybe it's even better if you migrate your password file to a credible implementer of crypto. Like gpg.

Or, perhaps a password manager like 1password.

Re: Vis: A Vim-Like Text Editor

#110
I'd like to suggest trying integrating the syntax highlighter from JOE for speed, but JOE is GPL...

Also, I'm not sure how large the Lua/LPeg state is, but for JOE we found the highlighter is more accurate if you retain the state of each line (or every n lines), and start parsing from a real known state. It looks like Vis starts parsing 16K before the start of the window.

https://sourceforge.net/p/joe-editor/mercurial/ci/default/tr...

Post reply on HN