Live data from Hacker News

Vis: A Vim-Like Text Editor

github.com

41–50 of 166 posts

Re: Vis: A Vim-Like Text Editor

#41

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.

Not in this case. It's the exact same url

Re: Vis: A Vim-Like Text Editor

#42
post #17

How would you compare this to the NeoVim project? https://github.com/neovim/neovim

Afaik NeoVim attempts to stay compatible with existing vim addons.

Neovim is one huge undertaking. So far they did wonders. Along libreoffice it's one of my favorite projects in spirit.

Re: Vis: A Vim-Like Text Editor

#43
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 for an editor that could be embedded with an LGPL project, and the choices were pretty limited. This looks quite interesting.

From a portability standpoint, is there any chance of creating a native Windows version using something like http://www.projectpluto.com/win32a.htm ? That was another kicker when I was searching previously - only the really big editors like vim/emacs appear to have Windows ports...

Re: Vis: A Vim-Like Text Editor

#44

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.

"similar problems with medium.com links where the stuff after the inserted hashtag"

I always strip anything after the hash, checking the link still works. Medium adds this info, in my opinion, for tracking.

Re: Vis: A Vim-Like Text Editor

#45
NIH syndrome. Vain attempt at improving code quality. Very unlikely this person is a much better programmer than Bram.

It's written in C, likely won't end up much better then vim. Less wasteful to improve vim.

Re: Vis: A Vim-Like Text Editor

#47

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…

As much as I love visualizing my code with Intellij, the thing is huge and clunky.

Nothing beats the simplicity of Sublime and the good'ol Terminal.

Re: Vis: A Vim-Like Text Editor

#48
post #31

Earlier quoted context omitted.

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 poi…

I say it says you're an engineer. :D

Only engineers see stuff like this and go "aw, cool!"

Incidentally the "video" is a small pile of JSON - filter for XHR in the devtools to find it, the URL uses an expiration system so a direct link would break. (Aaaand I just learned they implemented VT100 in JavaScript... the JSON is full of actual, real, escape sequences...)

(If you haven't seen it, you might also like: https://github.com/TheMozg/awk-raycaster / https://news.ycombinator.com/item?id=10896901)

Re: Vis: A Vim-Like Text Editor

#49

Earlier quoted context omitted.

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

"similar problems with medium.com links where the stuff after the inserted hashtag" I always strip anything after the hash, checking the link still works. Medium adds this info, in my opinion, for tracking.

If you're a Chrome or Firefox user, there's an add-on that can do this for you.

Chrome: https://chrome.google.com/webstore/detail/pure-url/mphlceppe...

Firefox: https://addons.mozilla.org/en-US/firefox/addon/pure-url/

Re: Vis: A Vim-Like Text Editor

#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. I guess the expectation is that these can still be accomplished by leveraging commands outside the editor. This is a clean approach.

Okay, but no diff mode? vimdiff is fantastic! And I'm not sure how you recover that functionality without multiple workspaces. Maybe the answer is you don't. Use vis for normal editing and pull out vimdiff only when you need it.

Post reply on HN