Hacker GitHub

← All repos

martanne/vis

View on GitHub ↗ ★ 5,247 C

A vi-like editor based on Plan 9's structural regular expressions

92 mentions on Hacker News by 56 people: 11 stories, 81 comments · first 2014-11-20 · latest 2026-08-20

Mentions per year 92 mentions · busiest year 2016 (20)
20082026
  1. …Undo is working properly. A related comment on buffer management from the author of the project: https://github.com/martanne/vis/issues/300#issuecomment-2160... I managed to live without hidden buffers so far, though I accept that they are…
  2. …I switch to vim when that is the case. I should say that their implementation is considered though: https://github.com/martanne/vis/issues/547 https://github.com/martanne/vis/issues/342 vis is highly recommended to anybody looking for a…
  3. ▲ 170
    Vis – A vi-like editor based on Plan 9's structural regular expressions
    story by wooby · 2017-11-16 · 39 comments
  4. Yeah, the vis implementation is here: https://github.com/martanne/vis/blob/master/text.c
    comment by panic · 2017-10-02 · in Text Editor: Data Structures
  5. …after something lightweight, similar enough to be vim to be useable, and lua built-in checkout vis: https://github.com/martanne/vis The structural regular expressions are also pretty interesting.
  6. …to vim these days. I recently switched from vim and sam to vis myself, and recommend it. https://github.com/martanne/vis
    comment by gwn7 · 2017-08-12 · in Vi is not vim
  7. …Sam's structural regular expressions. [1] https://www.cs.unm.edu/~crowley/papers/sds.pdf [2] https://github.com/martanne/vis
  8. For example: https://github.com/martanne/vis/blob/master/buffer.c bool buffer_prepend0(Buffer buf, const char data) { return buffer_prepend(buf, data, strlen(data) + (buf->len == 0)); } Two function calls plus arithmetics plus step-return.…
    comment by quickben · 2017-04-06 · in Build Your Own Text Editor
  9. If you enjoy "redis style" C code, take a look at vis https://github.com/martanne/vis
    comment by swah · 2017-04-06 · in Build Your Own Text Editor
  10. …as lexers for syntax highlighting, and they look very clean IMO; for example, this is the C lexer: https://github.com/martanne/vis/blob/master/lua/lexers/ansi_... [1]: http://www.inf.puc-rio.br/~roberto/lpeg/ [2]:…
    comment by thegeomaster · 2017-03-20 · in Show HN: How to write a recursive descent parser
  11. …for completion to ":open". I do intend to try it again some time but I'll also give kakoune a go. https://github.com/martanne/vis
  12. ▲ 4
    Vis – A vim-like text editor
    story by makafuro · 2017-02-02 · 0 comments
  13. This reminds me of "vis" from about a year ago - https://github.com/martanne/vis
  14. …regular expression support of sam/acme you might be interested in vis which combines the two: https://github.com/martanne/vis
  15. A recent addition is vis[0], which incorporates sam's structural regular expressions. [0] https://github.com/martanne/vis
  16. …This is the basis for the Vis editor[1]. [0] https://www.cs.unm.edu/~crowley/papers/sds.pdf [1] https://github.com/martanne/vis
  17. …Do you often edit binary files? If so what types and what kind of changes do you perform? [0] https://github.com/martanne/vis
    comment by martanne · 2016-09-22 · in Sublime Text 3 Build 3124
  18. I feel the same about 'vis'. Its lightening fast and does what I need. https://github.com/martanne/vis
    comment by donpdonp · 2016-09-12 · in Vim 8.0 released
  19. I I were going to hack on an C based editor, I think I'd use vis as a starting point: https://github.com/martanne/vis It already has Lua extensions. Or I might play with a pure python editor https://github.com/jonathanslenders/pyvim which…
    comment by cschmidt · 2016-07-19 · in Vim GIFs
  20. Try vis: https://github.com/martanne/vis
  21. …have yet to decide what kind of protocol to use in my own vis editor[1], hence why I'm asking. [1] https://github.com/martanne/vis
  22. …in simpler programs and simpler ecosystems, even if that comes at the cost of features. [1] https://github.com/martanne/vis
    comment by gnuvince · 2016-04-24 · in Show HN: QBE – a new compiler back end
  23. from https://github.com/martanne/vis/issues/140 it seems like vis doesn't yet support language-specific autoindentation. this is a must-have feature for me; i'm surprised it wasn't more of a priority for them given that this seems to be…
    comment by zem · 2016-04-07 · in Vis: A Vim-Like Text Editor
  24. …philosophical. I consider an editor a core system tool which should have minimal dependencies. [1] https://github.com/martanne/vis/blob/02c6df7cd4bca89506cf1d0...
    comment by martanne · 2016-04-07 · in Vis: A Vim-Like Text Editor
  25. ▲ 355
    Vis: A Vim-Like Text Editor
    story by fractalb · 2016-04-07 · 157 comments
  26. ▲ 14
    Vis: a vim like text editor
    story by tambourine_man · 2016-04-05 · 5 comments
  27. …keep in mind that this feature is relatively new thus likely still contains some bugs ... [1] https://github.com/martanne/vis
    comment by martanne · 2016-04-05 · in Use Vim Inside a Unix Pipe Like Sed or AWK
  28. …the featured screen casts for my projects are rarely updated and by now completely out of date. [1] https://github.com/martanne/vis [2] https://github.com/KeyboardFire/mkcast
  29. ▲ 2
    Vis: a vim like text editor
    story by infodroid · 2016-03-09 · 0 comments
  30. …The way syntax highlighting is implemented it should also (mostly) work for all types of files. [0] https://github.com/martanne/vis/blob/master/text.c#L555
  31. …, ] - AbiWord [1] - [1]: http://www.catch22.net/tuts/piece-chains - https://github.com/martanne/vis - the text editor of the Oberon OS used it [1] One of its most intevesting advantages is that it trivially supports fast unlim
  32. …a better choice. [1] https://github.com/martanne/abduco [2] https://github.com/martanne/dvtm [3] https://github.com/martanne/vis
    comment by martanne · 2016-01-03 · in Pymux: a tmux clone in pure Python
  33. ▲ 4
    Vis editor – 80% of vim's features implemented in roughly 1% of the code
    story by petepete · 2015-11-18 · 2 comments
  34. …interesting and have recently begun to add multiple cursor/selection support to my vim like editor. https://github.com/martanne/vis
    comment by martanne · 2015-08-03 · in Vim: Takeaways from One Year of Typing
  35. …[2] http://www.multimedia.ethz.ch/conferences/2014/wirth/?doi=10... [3] https://github.com/martanne/vis#why-another-text-editor
    comment by martanne · 2015-07-07 · in Project Oberon
  36. …in a balanced search tree) in the number of pieces i.e. non-consecutive editing operations. [0] https://github.com/martanne/vis#text-management-using-a-piec... [1] https://github.com/martanne/vis/blob/master/text.c#L1152
    comment by martanne · 2015-06-16 · in Optimizing an Important Atom Primitive
  37. …as other, in particular earlier references, that would be interesting. My recent implementation: https://github.com/martanne/vis/blob/master/text.c
  38. …he added a video player and a WYSIWYG html editor to it). Later I came to a Vim clone called vis ( https://github.com/martanne/vis ) and I found the source code more close to those programs where you think "It can't be made simpler". I…
    comment by dmacvicar · 2015-03-06 · in Aaron Swartz's Thoughts on djb (2009)
  39. …it to create a new window. When I find the time I will try to experiment with this design in vis. https://github.com/martanne/vis As for the copy mode, in my opinion the multiplexer should use the editor as a filter (which requires that…
  40. I would imagine you can submit a PR at https://github.com/martanne/vis/pulls . He says "As always, comments and patches welcome!" in the README. Edit: Maybe not, the mailing list mail says "git clone git://repo.or.cz/vis.git" instead. I'm…
    comment by shurcooL · 2015-01-02 · in Design of a Vim-like text editor
  41. It actually is on GitHub[0]. I'm not sure why it wasn't mentioned in the mailing list. [0]: https://github.com/martanne/vis
    comment by SmileyKeith · 2015-01-02 · in Design of a Vim-like text editor
  42. …base has become over the years, can't result in something good. That is why I started from scratch: https://github.com/martanne/vis