home.social

#nvim — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nvim, aggregated by home.social.

  1. Use `:w !sudo tee %` to save a file that requires elevated permissions to edit, when you have forgotten to append sudo before opening it.

  2. Use `:w !sudo tee %` to save a file that requires elevated permissions to edit, when you have forgotten to append sudo before opening it.

    #linux #vim #neovim #nvim #ide #texteditor #arch #shortcuts

  3. Spent some more time this weekend with my arf, R.nvim and Kitty setup. I have a more solid grasp of some of the issues and have refined the config files. Will update my blog post once I verify it works on both machines. Had it working at home, didn't at work, but now think I have a cross-machine fix in place. Will test at home after work.

    Original post for reference: adamhsparks.netlify.app/2026/0

    #RStats #NVim #arf

  4. Going all-in:

    alias vi=hx
    alias vim=hx
    alias nvim=hx
    export EDITOR=hx

    helix-editor.com

    #helixeditor #helix #nvim

  5. Hola hoy subi un video en el canal de espaniol sobre la nueva version de neovim y su nueva forma de configurarlo video.hardlimit.com/w/vEnfpncR
    #neovim #nvim #vim #lsp #lazyvim

  6. Is there a way to get intellisense in #nvim like the one you see in visual studio code?

  7. SOLUTION: @gumnos came up with the idea of piggy-backing :nohl onto control-l for refresh:

    nmap <C-L> :nohl<CR><C-L
    imap <C-L> <Esc>:nohl<CR><C-L>a
    

    Hey #vim wizards,

    The number one reason I don't use search more freely when editing is that all the highlights triggers my #CDO a little bit, and :nohl is a little clumsy to type in a hurry.

    I wanted to map :nohl to an easy-to-press keybind, like ctrl-/, but I can't seem to get it to work.

    Any ideas?

    " map Ctrl-/ to :nohl
    nmap <c-Slash> :nohl<CR>
    imap <c-Slash> <Esc>:nohl<CR>a
    

    #vi #vim #nvi #nvim #VimWizards #AskFedi #HiveMind

  8. Just had my first natural use of `van` in #nvim 0.12. I'm a hacker now.

  9. Some of my favorite software, swayimg, yazi, nvim use lua for their configurations. I've been trying to understand it consciously, rather than just copy-pasting snippets from others.

    #lua #swayimg #yazi #nvim

  10. For anyone interested, I updated my #neovim config for 0.12.
    But I also wrote about it. The why, the how. It's targeted at people with some experience with either #vim or #nvim who use some off-the-shelf distros but want to dive into the DIY configs.

    gitlab.com/pcoves/nvim#story-t

    Feel free to tell me if I'm missing something. It's hard to know where to put the limits.

  11. Where can I find information about what "vim.v" is in Neovim's Lua? I'm unable to find any documentation, yet Lazy setup calls `vim.v.shell_error`.

    Thank you! ❤️

    #nvim #lua #askFedi

  12. Just shipped input-form.nvim!

    Floating-window forms for Neovim plugins:
    • text / multiline / select inputs
    • built-in validators + chaining
    • tab navigation, labels on borders
    • create_form(...):show() — no setup required

    Perfect for plugin authors who need structured user input.

    github.com/chenasraf/input-for

  13. It's happening.

    ```
    ❯ nvim --version
    NVIM v0.12.0
    Build type: Release
    LuaJIT 2.1.1741730670
    Run "nvim -V1 -v" for more info
    ```

    #neovim #nvim #v0.12.0

  14. #Neovim 0.12 is out! Here the list of features I’m checking out first: cj.rs/blog/nvim0.12/

    💬 Feel free to comment here!

    #blog #blogging #nvim

  15. I wish I could switch to a completely slop-free editor without compromising my workflow too much.

    Helix would be a great alternative: Its mappings seem a bit more consistent than Vim’s, also it has Tree-sitter, LSP and fuzzy pickers already built-in. But it lacks some features (digraphs, extensibility, folding – in that order).

    I also had a look at Kakoune, which also seems alright, but I don’t like that tabs and splits are delegated to the terminal emulator, a multiplexer or window manager. I respect that decision, but I’d prefer that feature to be built-in.

    For now, I’ll stick to Neovim. At least they have a policy that makes LLM users check and sanitise the generated code (github.com/neovim/neovim/blob/), although I’d prefer if they’d outright ban it.

    #Vim #Neovim #nvim #Helix #Kakoune #FOSS #slopocalypse

  16. @peritia Hit ESC then :x

    This is the superior way to exit vim. If you didn't change the file, (Neo)vim will exit. If you did change it, the changes will be saved, then exit.

    As far learning, open nvim, hit ESC then :Tutor

    #vim #nvim #neovim

  17. More success porting Lilypond/Frescobaldi capabilities over to Neovim: I can now easily do musical transformations on Lilypond notation!

    I can transpose passages, double/halve the durations, dot/undot everything, apply a completely new rhythmic pattern, or remove repeated duration indicators or make them explicit again.

    This uses the remote plugin feature on Neovim: github.com/reillypascal/nvim/t

    #Neovim #Nvim #Lilypond #Frescobaldi #Python #Composition #ClassicalMusic

  18. @al3x I do a cleanup step on every minor #nvim release. I guess the next one will force a lot of people do re-estimate their needs.

  19. Probando #Claude en #nvim mediante el plugin Avante.

    Parece sólido. Veremos en unos días.

  20. Not gonna lie, a few years ago when I eared @robinm asking for a built-in plugin manager in #vim / #nvim, I was not convinced.

    Why? Because I thought it was already the case. `pack/{opt,start}` has been around for quite a while now and I used #git #submodules to have a portable configuration.

    Since then, I've used various plugins manager. They're handy but don't offer much more than the built-in.

    And now, back to sugar-coated basics: echasnovski.com/blog/2026-03-1.

    I now agree with @robinm.

  21. How to exit vim?

    No joke ofc

    But how do i learn vim i feel really stupid XD

    What do you mean i have no problems memorizing docker and nix syntax but cant remember to write ":i" to insert-

    #vim #nvim #neovim

  22. I've been spring cleaning to exorcise evil spirits and bad qi (unnecessary metadata) from my notes:

    fd93.me/note-4-spring-cleaning

  23. Самый удобный и минималистичный workflow для macOS (vim-centric)

    Минимум настроек — максимум результата: удобное управление окнами и быстрый workflow для работы без переключения на мышь. Подойдет как обывателю, так и профессионалу.

    habr.com/ru/articles/1002308/

    #vim #raycast #space_launcher #nvim #window_management #window_manager #dotfiles #workflow #browser_extensions #shortcuts

  24. Have you ever heard of foreground and background jobs in a GNU/Linux or Unix context?

    If not:
    1. jump into your favorite shell
    2. start e.g. vim with `vim foo.rs`
    3. now press <CTRL> z
    4. go to another directory and do an `ls` or so
    5. and now run `fg`
    (6. Works in an SSH session too)

    Wow. It's crazy that I used this for the first time today after all these years of using Linux. You just never stop learning.

    #Linux #Unix #GnuLinux #fg #vim #nvim #neovim #ssh #shell #terminal #DevOps #SoftwareDevelopment