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.
Vis: A Vim-Like Text Editor
41–50 of 166 posts
Re: Vis: A Vim-Like Text Editor
#42Re: Vis: A Vim-Like Text Editor
#43If 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
#44Meta: 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.
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
#45It'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
#46Re: Vis: A Vim-Like Text Editor
#47More 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…
Nothing beats the simplicity of Sublime and the good'ol Terminal.
Re: Vis: A Vim-Like Text Editor
#48Earlier 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…
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
#49Earlier 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.
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
#50And 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.