home.social

#neovim — Public Fediverse posts

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

  1. Lost in a large codebase? 🔎

    I built tgrep.nvim to bring Microsoft’s tgrep search into Neovim, with the fff-plus picker.

    • Search as you type
    • Preview matches before opening
    • Jump into splits or tabs
    • Send matches to quickfix
    • Use an index, with filesystem fallback

    Try :Tgrep in your project. I’d love to hear what would make it fit your workflow.

    github.com/vinitkumar/tgrep.nvim

  2. #neovim Development News

    The 0.12 version adds `ZR` default mapping to restart Neovim. This compliments already present `ZZ` and `ZQ` to close the window.

    PR:
    - github.com/neovim/neovi...

    feat(editor): ZR performs `:re...

  3. Q: Where is the code? What you've been doing whole day?
    A: Figuring out why kewords are red instead gruvbox aqua blue in my #neovim
    Q: Oh I see, carry on!

    vim.hl.priorities.semantics_tokens = 95

    You can take my treesitter syntax highlighting from my cold, dead hands.

  4. I'm taking a look at #Helix. TL;DR: It doesn't feel comfortable yet, but it's definitely not a "no".

    Happily, I've got the #Pascal language server pasls working. That's an important start for me. I don't think the LSP experience is as nice as blink.nvim yet, but maybe I need to fiddle with the config.

    The default setup in Helix is very impressive - it has a lot of things built-in that take me very close to my #NeoVim setup with #LazyVim. But it does lack a little something visually, a few colour-coded cues from things like snacks.nvim that do help me.

    I'm still very far away from a config I like. And the flipped way of doing things compared to standard Vim keybindings is taking some getting used to!

    I can see me driving both NeoVim and Helix for a time while I get used to Helix.

  5. Now trying the #Catpuccin color scheme. First impressions:

    1. Even the darkest of the four shades is not too dark for me to open a dark-mode text editor besides a white-background web page.
    2. It is consistently available for #RStudio, #Neovim, #MicroTextEditor and #Ptyxis, and hundreds of other applications
    3. Colors for code comments are subdued as usual. At least I can read them without cranking screen brightness to full, but ideally I'd like more contrast.

  6. This is annoying but I like it 😶‍🌫️

    🌀 **hardtime.nvim** — Break bad habits, master Vim motions

    💯 Disables pressing repeated keys & shows hints instead

    ➡️ Blog post: m4xshen.dev/posts/vim-command-

    ⭐ GitHub: github.com/m4xshen/hardtime.nv

  7. Finally reinstalled my laptop to Aeon Desktop. Just added nerd fonts. Enabled fingerprints unlock. Ptyxis looks like a great terminal too. And love GNOME 48 and the new font.

    The saddest part was when the brand new Seagate HDD suddenly died during the backup restore process. 😖

    #aeondesktop #linux #openSUSE #gnome #neovim #ptyxis #seagate

  8. Here’s something that puts your readline edit-mode into your prompt. I probably didn’t need to do this. I’m a #Vim user (really #NeoVim) and so I have a `.inputrc` that makes my #commandline edit-mode (because of #readline) always be #vi. This is for #bash. It may work in other shells, I don’t know. I use #starship. The actual command I wrote uses #ripgrep. At least twenty other ways you could do it. I put all the changes into a gist: gist.github.com/wolf/e2bd12615

    Most people never change from the default edit-mode. If they do, they probably don’t switch back and forth. Starship narrows the field further. Almost certainly this is of no use to you unless you want to learn a little about some of the pieces. Enjoy anyway.