Skip to content

Comment on Introduction to the Sam Text Editor

Comments

I learned about sam's structural regular expressions after learning about vis[1] on a post in this website. It aims to combine the modal text editing from vi(m) and sam's structural regular expressions, plus some cool stuff like multiple cursors or a Lua API.

I feel more comfortable with it than sam's given than I'm not as much as a mouse person but a keyboard person (even though being a graphic designer). It's development is not as heavy as is stuff like neovim or kakoune, but still at this very moment I find it usable, quick and reliable.

[1] https://github.com/martanne/vis

   tar xzf vis-0.7.tar.gz
   cat vis-0.7/doc/requirements.txt

   breathe
Interesting name choice. If I am not mistaken, BSD has had a vis(1) utility since 1993.

http://cdn.netbsd.org/pub/NetBSD/NetBSD-current/src/usr.bin/...

Correct. On OpenBSD, the vis editor's binary is actually called `vise` to avoid this conflict.

Hmm. Recently I started writing a simple vim-style text editor from scratch because, to support some weird ideas I have, I need a text editor built on a piece table. And it turns out vis is built on a piece table...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.