Live data from Hacker News

Vis: A Vim-Like Text Editor

github.com

31–40 of 166 posts

Re: Vis: A Vim-Like Text Editor

#31
post #2

That video needs sound, I have no idea about what's happening.

As the producer of the "video" (it is actually ASCII, you can copy paste stuff out of it) I agree, here is an annotated version: - x/pattern/ extracts stuff from the text, creates a selection for every match - some normal vi motions are used to modify the selections, "o" to move the cursor from one end of the selection to the other, "w" to move the cursor to the start of the next word - y/,/ similar to x/ but create…

> it is actually ASCII, you can copy paste stuff out of it

No offense to your texteditor, I'm a vim enthusiast and after installing vis just now I really liked it, but that I can copy paste from that screencast caught me really off guard, and it's the height of my day today.

Sure, in hindsight it seems obvious, but ... that's pretty cool!

... not sure what that says about me, maybe I don't wanna know.

thanks for pointing my eyes that way!

Re: Vis: A Vim-Like Text Editor

#32
post #27
post #19

Looks very good. Definitely going to give it a try. Currently I'm using Neovim and I like a lot the embedded terminal feature. I wonder how easily this can be recreated using a Lua plugin.

> I wonder how easily this can be recreated using a Lua plugin. It's probably a better idea to use tmux/screen/dtvm for terminals rather than embedding a terminal in a minimal editor. The TODO list mentions asynchronous event loops, that's necessary to do any plugins with external processes neatly.

Well. Having a terminal as a buffer makes it possible to copy/paste into/from the terminal.

Also autocomplete from all the buffers is working. It's really convenient.

And implementing a repl integration is trivial.

Re: Vis: A Vim-Like Text Editor

#33

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.

Re: Vis: A Vim-Like Text Editor

#35

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.

[deleted]

Re: Vis: A Vim-Like Text Editor

#36

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.

So, the better question would be what advantages there are over Neovim :), but it has already been answered in another post.

Re: Vis: A Vim-Like Text Editor

#37

Meta: I don't get HN's new deduplication algorithm. I submitted the same link yesterday. https://news.ycombinator.com/item?id=11434195

I noticed similar problems with medium.com links where the stuff after the inserted hashtag leads to multple submissions of the same link.

Re: Vis: A Vim-Like Text Editor

#39
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 software where I think the "dumb"er a piece of software the better and more reliable/performant it is likely to be. So I'm also hugely skeptical of the current Deep AI efforts leading to anywhere good.

Re: Vis: A Vim-Like Text Editor

#40

One of these days, I'm going to sit down and try out this, emacs-evil, and neovim. Side-by-side. Need to figure out which one I like most.

I feel you. I want to like neovim, I really do. Same thing with this. I even want to just use emacs+evil. But since I've picked up spacemacs (~3 months ago) I can't really use anything else. I'm already pretty hooked on orgmode, and the consistent keybindings that spacemacs provides are wonderful.
Post reply on HN