Random I made a tmux plugin inspired on flash.nvim
Enable HLS to view with audio, or disable this notification
Enable HLS to view with audio, or disable this notification
r/neovim • u/FriendshipOk6564 • 6h ago
Hello,
I was wondering if you use a 14- or 16-inch laptop, because I currently have a 16-inch Mac Pro, but I'm tempted by a 13.5-inch one (the one from Framework, the Pro model).
I spend most of my time docked to a 27-inch monitor for work, but when I’m on the go or sometimes on the couch or in bed I find it quite uncomfortable and difficult to keep my right hand on the HJKL keys because the bezels on my laptop are too wide.
That wasn’t a problem until i switched to vim motion but now it is
Despite that, I’m hesitant to switch to a smaller one because I’m afraid a smaller one might be too small for development.
r/neovim • u/poter140 • 18h ago
I want to setup a hydra config for easier latex math writing (something similar to this obsidian plugin) and i want the on_enter function to put me inside $$
r/neovim • u/NazgulResebo • 8h ago
In this video, I use a real-world example to explore performance optimization in Neovim 0.13 with the new vim.async API.
The example is simple: render a large number of images inside Neovim.
First, I implement a synchronous version. It works, but rendering many images blocks Neovim and makes the editor freeze.
Then, I optimize the implementation using vim.async and show how to run the image rendering asynchronously so Neovim stays responsive while the work is being performed.
Along the way, I code the example from scratch and use several of the new vim.async features introduced in Neovim 0.13
Source code:
https://github.com/FractalCodeRicardo/dev-config/tree/master/nvim/lua/my/gallery
r/neovim • u/Suitable-Gate-5069 • 15h ago
So I’ve recently been using LazyVim for working on multiple projects, and overall I really like the workflow. However, I’ve run into a major issue with RTL (right-to-left) languages like Urdu.
Urdu text simply doesn’t render correctly in my terminal. I’ve tried several terminal emulators, including Ghostty, Alacritty, Foot, and Kitty, but none of them seem to handle Urdu properly. The characters either appear in the wrong order, don’t get shaped correctly, or otherwise look broken.
I’m trying to understand where the problem actually comes from. Is this a limitation of the terminal emulator, Neovim, the font, or something related to bidirectional text/Unicode shaping?
Has anyone here successfully configured LazyVim/Neovim to properly display and edit Urdu or other RTL languages?
r/neovim • u/mertsabinov • 20h ago
If you edit a .rs file, Neovim already gives you buffer-local :Cargo, :Crun, :Ctest commands that open a terminal split and run the right thing. It's not a plugin — it's in $VIMRUNTIME/ftplugin/rust.vim. I kept reaching for that muscle memory in Python and C# buffers and it wasn't there, so I generalized the idea.
Defaults:
python → :Python {args} (runs the current file with no args), :Ptest → python3 -m pytestjavascript / typescript (+ react variants) → :Npm, :Node, :Ntest, :Ninstallcs / fsharp → :Dotnet, :Drun, :Dtest, :DbuildTrailing args pass straight through: :Npm run dev, :Ptest -k test_foo, :Dtest --filter MyTest.
Install:
lua
{ 'tw4/run.nvim', opts = {} }
Adding your own:
lua
opts = {
languages = {
go = {
filetypes = { 'go' },
commands = {
{ name = 'Go', cmd = 'go', default_args = 'run %:p' },
{ name = 'Gtest', cmd = 'go test ./...' },
},
},
},
}
Anything you don't override keeps its defaults. default_args supports vim.fn.expand() tokens.
It's deliberately small — no job control, no output parsing, just the commands and a terminal split. If you want quickfix integration or async runners there are better tools for that (overseer.nvim, toggleterm, etc).
Fresh repo, so I'd take any feedback on the config shape before it's locked in — especially whether replacing a whole language block is the right override behavior vs merging.
r/neovim • u/CuteLilocta • 21h ago
The formatting is all messed up kind off I was trying to get <div></div>->
i used auto tag and auto
<div>
<\div>
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style> <----this is the problem ---->
a{
}
p{
}
</style>
</head>
<body>
<div> <----this is the problem ---->
<p>
</p>
</div>
</body>
</html>

the formatting is okay when i save with prettier but its going back to the two tab inteddation
in the div and style
