Posts refer to Nvim 0.13 (dev build). Discuss usage/config/ideas at: github.com/neovim/neovim/dis…

/usr/bin/nvim
Replace tmux with servery.nvim (~300 lines of Lua) ! github.com/wurli/servery.nvi…
10
13
260
14,680
Users are sharing their multicursor ideas and extensions in Neovim discussions! github.com/neovim/neovim/dis…
4
9
174
10,544
vim.async "structured concurrency" has landed ⏩ in Nvim 0.13! github.com/neovim/neovim/pul… Try it if you ever want to chain several callbacks together, or wait for multiple processes to finish. Optional handling of errors, cancellation, and more. Thanks to lewis6991 🫡
3
17
209
11,089
users are already extending Nvim 0.13 multicursor 💦 (cursors are queryable as an extmarks namespace) here's a script by celeste3z to get "align" functionality (similar to tabular, vim-lion): github.com/neovim/neovim/dis…
10
42
649
32,060
Multicursor has landed
⚔️ LOOT DROP 🛡️ Multicursor is available in @Neovim 0.13 nightly. github.com/neovim/neovim/pul… According to Sublime Text, "any praise about multiple selections is an understatement". docs.sublimetext.io/guide/us…
2
9
249
19,518
Nvim 0.12.5 release (づ。◕‿◕。)づ - "ZR" performs :restart - v:startreason lets plugins handle restart differently than regular (boring😴) startup - ":restart" (without "!") restores the current session - lsp: give bufnr to reuse_client() - 50+ fixes github.com/neovim/neovim/com…
3
17
263
12,673
Repeat anything. Repeat anything. Repeat anything.
with CmdAtom, a lot of "leader key" mappings will just be unnecessary, bc you can compose macros on the fly. in this demo I type "n" + "zz", then I type "2<space>" to bring up the cmdwin with the last 2 atoms prefilled. I hit Enter to save the macro, then <space> repeats the macro. at the end of the demo I type "<c-w>v" to split the window, then repeat it with ",,,," to repeat it a bunch of times.
1
113
18,621
killer feature: CmdAtom
The "atom" concept is now available in Neovim 0.13. All *user actions* emit CmdAtom events. This is a deep architectural upgrade, which provides the basis for multicursors (essentially "atomic macros"), plus other use cases: - repeat any "previous action" - repeat partial actions ("sub-modes") - repeat "visual operations" semantically See dev_arch.txt for notes on the design. github.com/neovim/neovim/pul…
2
88
16,159
Neovim, e/plugins retweeted
With the latest stable version of @Neovim it's simpler. I just have one plugin now (lua-fzf).
1
1
11
3,301
please report this account: @zenaine is a phishing account that sends calendly invites which redirect to an app that requests write access to the target's X account.
3
37
19,027
nice walkthrough showing what Nvim can do with ~100 lines of config, no plugins. diagnostics, statusline, :grep, :find, formatting practical usage of NVIM_APPNAME, :restart piped.video/watch?v=otRvw9ne…
4
28
421
42,392
:bcd sets buffer-local "current directory" (CWD). :bcd some/dir/ Similar to :lcd (window-local) and :tcd (tab-local), except not "sticky". Use cases: - on LspAttach, :bcd to the workspace "root dir". - on :terminal OSC 7, :bcd to new dir. github.com/neovim/neovim/pul…
1
1
103
8,289
Since Nvim 0.11, you can :detach (and reattach later via :connect). Now you can tell Nvim 0.13 to "automatically detach" if your terminal closes unexpectedly (ssh disconnect, etc), like tmux. :silent detach! The "!" tells Nvim to keep running in the background even if the UI (your terminal or GUI) disappears. github.com/neovim/neovim/pul…
3
7
173
10,974
Note: this is not the default bc we assume most users want Nvim to fully stop when the host terminal/GUI is closed. tmux users expect tmux to stay alive, but most Nvim users probably don't expect that. But now you can just put ":detach!" in your config if you want that.
1
7
1,926
you can now (Nvim 0.13) set "func" and "expr" options to Lua functions/closures directly: vim.o.indentexpr = function() return 8 end vim.o.omnifunc = function(f) return f == 1 and -1 or { 'word1', 'word2', 'word3' } end github.com/neovim/neovim/pul…
4
3
122
9,535
Example use-case: Try ":marks nvim.help.urls" in a :help buffer, to list all help tags defined in the buffer. This works because help tags are annotated with `url` extmarks, in order to support "gx". (Try gx on any help tag, it will open neovim.io/doc/user )
The :marks command in Nvim 0.13: - has cmdline completion - can list namespaced extmarks (not only "regular marks") github.com/neovim/neovim/pul…
4
52
8,261
Neovim, e/plugins retweeted
The Neovim ":restart" feature is unique. No other TUI text editor supports it, and probably almost no TUI apps (inb4 Codex implements it with a swarm of clawboughts 🤫). GUIs implement restart via a system service (complex). Nvim just does a back-flip, nbd.
9
8
133
13,471
July already?? ok, release Nvim 0.12.4 features: - lsp: semantic token improvements + performance - treesitter: reduce memory usage of "incremental selection" - 35+ fixes github.com/neovim/neovim/com…

ALT Angry Good Night GIF

7
10
245
11,611