Hacker GitHub

← All repos

mawww/kakoune

View on GitHub ↗ ★ 11,128 C++

mawww's experiment for a better code editor

75 mentions on Hacker News by 62 people: 7 stories, 68 comments · first 2014-02-24 · latest 2026-10-28

Mentions per year 75 mentions · busiest year 2016 (13)
20082026
  1. …testing N^2 complex. Sometimes a well-thought-through plugin system is no plugin system. Kakoune ( https://github.com/mawww/kakoune ) is a good example of it. I know it's an Emacs celebration party, but that one decision made Kakoune super…
    comment by paaloeye · 2026-10-28 · in Emacs Turns 50
  2. …clearly (by claiming authorship). If someone is curious, here's when I don't claim authorship: https://github.com/mawww/kakoune/pull/5515
    comment by xlii · 2026-06-27 · in Honesty gets Emacs patch rejected
  3. …a line). But that is not really the type of file you would be opening with your main editor. [0]: https://github.com/mawww/kakoune/blob/2d8c0b8bf0d7d18218d4c9...
  4. Fascinating idea! To summarize for those who know [Kakoune]( https://github.com/mawww/kakoune ) or [Helix]( https://github.com/helix-editor/helix ), the idea is that every command has the form ["selection mode" -> "movement" -> "action"](…
  5. …evolution to Vim's modal editing. You can think of it as being always in selection (visual) mode. https://github.com/mawww/kakoune?tab=readme-ov-file#selectio...
    comment by laerus · 2024-03-30 · in Helix: Release 24.03 Highlights
  6. …has ever heard of vis[0] Yes. https://github.com/martanne/vis/wiki/Differences-from-Kakoun... https://github.com/mawww/kakoune/wiki#onboarding > which imho fulfills far better each one of those premises Not very motivated for such a harsh…
    comment by lapinot · 2023-09-21 · in Why Kakoune
  7. https://github.com/mawww/kakoune/
    comment by krobelus · 2023-08-24 · in Ask HN: Where do I find good code to read?
  8. for zsh: https://github.com/mawww/kakoune/wiki/zsh-zle
  9. Kakoune has macros: https://github.com/mawww/kakoune/blob/master/doc/pages/keys....
  10. You might like kakoune ( https://github.com/mawww/kakoune ), which does exactly that: first you select the range (which can even be disjoint, e.g. all words matching a regex), then you operate on it. By default, the selected range is the…
    comment by Fissionary · 2023-06-17 · in I don't need your query language
  11. …filename. If there is no match, it retries on the full candidate string Kakoune does the same, see https://github.com/mawww/kakoune/blob/019fbc5439ad884f172c32... > Strict path matching means that the path segments of the query token…
    comment by krobelus · 2023-03-19 · in A different approach to fuzzy finding
  12. I think the text editor, [Kakoune]( https://github.com/mawww/kakoune ), was written as an experiment in modern C++ language features. Its documentation says it requires a C++20 compiler, though I don't imagine it was originally for that…
    comment by moeris · 2022-09-17 · in CppCon 2022
  13. …. Also Kakoune text editor defaults to structural regular expressions in the search https://github.com/mawww/kakoune .
  14. Kakoune's [design doc]( https://github.com/mawww/kakoune/blob/master/doc/design.asci... ) stresses that Kakoune is a text editor, not an IDE. What does this really mean? Obviously, the main way people use text editors like this is to…
    comment by philip-b · 2022-01-18 · in Kakoune Code Editor
  15. It's not. See https://github.com/mawww/kakoune/issues/454
    comment by glandium · 2022-01-18 · in Kakoune Code Editor
  16. …sorry). This makes writing syntax highlighting extensions a pain/difficult to maintain[1]. --- [1] https://github.com/mawww/kakoune/issues/4411
    comment by Sukera · 2022-01-18 · in Kakoune Code Editor
  17. …That is, counts work, it’s the movements that are slightly different. See manual §3.4–6[1]. [1]: https://github.com/mawww/kakoune#34-movement
    comment by mananaysiempre · 2022-01-18 · in Kakoune Code Editor
  18. …looking at the TRAMPOLINE tutorial [1] and you might come around to the `wd` school of thought! [1] https://github.com/mawww/kakoune/blob/master/contrib/TRAMPOL...
    comment by sidkshatriya · 2022-01-18 · in Kakoune Code Editor
  19. …integrate with other tools, but causing some pain if you don't know shell scripting already. [0]: https://github.com/mawww/kakoune/blob/master/doc/pages/comma... [1]: https://github.com/mawww/kakoune/blob/master/doc/pages/comma... [2]:…
    comment by raiguard · 2022-01-18 · in Kakoune Code Editor
  20. Anyone else spot the iso646.h macros[1] in the screenshots? E.g., https://github.com/mawww/kakoune/blob/master/src/buffer_mana... [1]: https://en.wikipedia.org/wiki/C_alternative_tokens#The_macro...
    comment by loeg · 2022-01-18 · in Kakoune Code Editor
  21. …called TRAMPOLINE that is meant to help new users get up to speed quickly. It is available here: https://github.com/mawww/kakoune/blob/master/contrib/TRAMPOL...
    comment by atdt · 2022-01-18 · in Kakoune Code Editor
  22. I really like the way kakoune ( https://github.com/mawww/kakoune ) handles it, the editor doesn't have any scripting as such, it has an "API" in the form of pipes and environment variables that can be used by shell scripts or tools written…
    comment by flukus · 2021-06-03 · in Helix: a post-modern modal text editor
  23. …https://github.com/emacs-mirror/emacs/blob/d68f2b8681f8eeb6b... https://github.com/akinomyoga/ble.sh https://github.com/mawww/kakoune/commit/47c0d2038807757207cd... https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-key...…
  24. …did look for a FAQ but could find it. It doesn’t seem to be linked from their read me documentation https://github.com/mawww/kakoune
  25. Kak-oon ( https://github.com/mawww/kakoune/blob/master/doc/pages/faq.a... )
  26. …-> action_letter, not action_letter -> object_letter model. [1] - https://amp.rs/ [2] - https://github.com/mawww/kakoune
  27. …I'll just have to find what things to copy over from Kak. Since Kak can be used as a server also ( https://github.com/mawww/kakoune/wiki/JSON-RPC ) I can send stuff over to it for more extensive editing. I'll check the LitScript also.…
  28. …language like python or lua instead of creating such a limited editor-specific language. [1]: https://github.com/mawww/kakoune/blob/25429a905b717d29bdf92c... [2]: https://github.com/mawww/kakoune/blob/25429a905b717d29bdf92c...
  29. …or at the very least understood how to use the onboard docs to write any plugin I wanted to. [1]: https://github.com/mawww/kakoune
  30. …cursors and noun verb as apposed to vi's verb noun order have to be experienced to be believed. https://github.com/mawww/kakoune
  31. Relatedly, there's a vim-like editor that is all about moving from verb-noun to noun-verb. https://github.com/mawww/kakoune
    comment by Symmetry · 2019-10-16 · in Verb-Noun vs. Noun-Verb
  32. …me. I started `breeze` as a prototype way to show kakoune author how kak could potentially work https://github.com/mawww/kakoune/issues/2590 , and later decided that actually I could maybe push it further into a full new text editor. I'd…
    comment by dpc_pw · 2019-08-04 · in Build Your Own Text Editor
  33. …do the trick, though mounts are always tricky. Kakoune supports JSON RPC over a fifo, for example: https://github.com/mawww/kakoune/wiki/JSON-RPC#input-keys--o...
  34. …] a music player prettyping [ https://github.com/denilsonsa/prettyping ] a prettier ping kakoune [ https://github.com/mawww/kakoune ] a nice (relatively friendly) modal text editor
    comment by leeman2016 · 2018-11-22 · in Ask HN: Best Command-Line Applications?
  35. …to implement but it just hasn't been yet to my knowledge. [1] https://github.com/ul/kak-lsp [2] https://github.com/mawww/kakoune/wiki/Fuzzy-finder
  36. You might like kakoune, a vim-like editor which focuses on interactivity: https://github.com/mawww/kakoune It flips around a few of vim's operations (like for example, to delete a word, you do 'wd' and not 'dw'). This allows it to…
  37. …can be leveraged from within Xi editing framework in some capacity. (1)[ http://kakoune.org ] (2)[ https://github.com/mawww/kakoune/wiki/JSON-RPC ]
  38. > Kakoune uses a clippy ASCII art for its immediate help, it's nice. Had to look this up - very cute! https://github.com/mawww/kakoune#screenshots https://raw.githubusercontent.com/mawww/kakoune/master/doc/s...
    comment by bjz_ · 2018-01-14 · in Rust in 2018: easier to use
  39. …functions. However, the approach in the post is not very C++-esque, I like this one much more: https://github.com/mawww/kakoune/blob/master/src/utils.hh#L5...
    comment by Occivink · 2017-10-21 · in Implementing Go's defer keyword in C++
  40. …editor, but here's a really impressive introduction to Kakoune, another small but excellent app https://github.com/mawww/kakoune https://vimeo.com/82711574
    comment by petepete · 2017-09-28 · in Modern terminal-based text editor
  41. …multiple cursors) I've found[1] "simply" represents a buffer as a vector of strings. [1]: https://github.com/mawww/kakoune
  42. …Furthermore, Kakoune has a JSON-RPC user interface option that new UIs could be built around: https://github.com/mawww/kakoune/blob/7482d117cc85523e840dff... So it could happen if you wanted it bad enough!
    comment by sevensor · 2017-04-20 · in Tmux and Vim – better together
  43. …using ranger and fzf, or even just piping a selection to `fmt` to reformat a paragraph. [1] https://github.com/mawww/kakoune/wiki/Ranger [2] https://github.com/mawww/kakoune/wiki/Fuzzy-finder
    comment by brynedwards · 2017-04-20 · in Tmux and Vim – better together
  44. …as well. It's the first time in a number of years I've played with anything other than vim. [1] https://github.com/mawww/kakoune/issues/484
    comment by nathcd · 2017-02-19 · in Getting started with vim
  45. …your post. There are individual instructions and packages for many distributions listed here: https://github.com/mawww/kakoune#2-getting-started On Fedora it was literally 2 commands to install: $ dnf copr enable jkonecny/kakoune ; dnf…
  46. …over a year. It also has a vibrant community, jump in on IRC if you have questions or ideas. [1] https://github.com/mawww/kakoune
    comment by omtose · 2017-01-30 · in The Craft of Text Editing (1999)
  47. …[1]: https://news.ycombinator.com/item?id=13165919 (the article has a video of panes) [2]: https://github.com/mawww/kakoune/blob/f7e2bfd76fc1629ffd4e16...
  48. …those. Based on the linked screenshot[1], perhaps the editor should be named "Clippy's Revenge" [0] https://github.com/mawww/kakoune [1] http://kakoune.org/img/screenshots/screenshot-tmux.gif
  49. It's a new caledonian word, see https://github.com/mawww/kakoune/blob/master/doc/manpages/fa...
  50. FAQ on various things and what the name means: https://github.com/mawww/kakoune/blob/master/doc/manpages/fa...