kakoune
vim-sandwich
Our great sponsors
kakoune | vim-sandwich | |
---|---|---|
110 | 35 | |
9,571 | 1,383 | |
- | - | |
9.7 | 5.0 | |
5 days ago | about 1 month ago | |
C++ | Vim Script | |
The Unlicense | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kakoune
- Multi-cursor code editing: An animated introduction
-
Helix: Release 24.03 Highlights
Helix's modal editing is based on Kakoune's modal editing which is like an 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...
- Kakoune
- Kakoune Code Editor
-
A tutorial for the Sam command language (1986) [pdf]
And while it doesn’t use the sam language precisely, I think in the broader “postfix Vi with visual feedback” category Kakoune[1] also warrants mentioning. The command language, in my experience, feels much more logical than that of Vis coming from a blank slate (things might be different if you come from Vim, but even when I used Vim regularly I never used the editing language that much exactly because I could never remember the damn thing).
And having mentioned Kakoune it’d probably be unfair to then not mention Helix[2]. It has a very similar editing language, but it’s a fairly anti-Unix everything-bolted-in affair on the inside (“everything works out of the box” being the advertising take) compared to Kakoune’s Acme-inspired no-scripting scripting (there’s an ex-style command to exec a user program that can then drive the editor over stdio RPC, a set of hooks, and that’s it). So if you’ve come for the Plan 9 feels, I don’t expect Helix to be that appealing. It’s still a good editor, nevertheless.
[1] https://kakoune.org/
[2] https://helix-editor.com/
-
What is the best book for complete beginner?
You can take a look at kakoune. The source code (excluding documentations, test cases, customizations etc.) is less than 40k. It is, IMHO, a show case of a C++ project in use.
-
Why Kakoune
> I wonder if the author 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 critic..
-
Understanding the Origins and the Evolution of Vi and Vim
I've been using Vim for years, but if there was one thing I could change, it would be the verb-noun order. The Kakoune[1] editor behaves mostly like Vim, but where Vim has `dw` as "delete word", Kakoune has it backwards: `wd`.
It might sound minor, but by placing the range first, Kakoune can give a preview of what will be changed. The longer or more complicated the command, the more this feature shines.
Strictly better as far as I know. A shame my muscle memory, and all default installations, are still stuck with Vim.
[1] https://kakoune.org/
- Ask HN: Where do I find good code to read?
-
Helix editor: Make HTTP requests and insert JSON
Helix is a postmodern text editor built in Rust built for the terminal. It is inspired by Kakoune, another Rust based text editor. Helix has got multiple selections, built-in Tree-sitter integration, powerful code manipulation and Language server support.
vim-sandwich
-
Surround: how to change foo(bar) to bar
vim-sandwich has this too (although syntax by default is sdf).
- Installing argtextobj.vim
-
How would I wrap a word, prefix it, and finally suffix it?
For example with vim-sandwich you can literally type: siw"sa"ffunctionCall
-
Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
can't live without my prefered surround plugin
-
neovim plugins that have improved your workflow
vim-sandwich
-
What extra and useful textobj does vim have?
https://github.com/machakann/vim-sandwich (is and iss)
- Whenever I'm looking for plugins these days [OC]
-
Is there a way Is there a way to combine da' and da" ?
This might not be exactly what you're looking for, but vim-sandwich provides the as text object, that goes to whatever surrounding you're in, whether it's quotes, parens, \begin{environment}...\end{environment} in TeX files, or whatever other sandwich recipes you have set up.
-
what vimL plugins are you still using?
vim-sandwich - nvim-surround looks good but is still relatively new and has some missing features compared to alternatives.
-
Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters
Other related plugins that I know of: * https://github.com/tpope/vim-surround * https://github.com/machakann/vim-sandwich * https://github.com/echasnovski/mini.nvim
What are some alternatives?
helix - A post-modern modal text editor.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
micro-editor - A modern and intuitive terminal-based text editor
surround.nvim - A surround text object plugin for neovim written in lua.
vis - A vi-like editor based on Plan 9's structural regular expressions
nvim-surround - Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
Yuescript - A Moonscript dialect compiles to Lua.
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
vim-exchange - Easy text exchange operator for Vim
neovim - Vim-fork focused on extensibility and usability
wilder.nvim - A more adventurous wildmenu