Quick Tip for the Week #2: Improving native fuzzy finder in neovim

This post is a continuation to the original implementation, you can read at: https://cherryramatis.xyz/posts/native-fuzzy-finder-in-neovim-with-lua-and-cool-bindings/

After using the native fuzzy finder implementation everyday for almost a month now I can safely say it’s quite great for my personal workflow, it works flawlessly and it’s simple enough so I can extend easily. One thing though that is a bit annoying is how often the popup window updates (it updates each time you press a character), sometimes that much update add some flickering to the popup re-rendering. Luckily Alessandro contacted me with a better implementation that not only simplified a bit the code, but also added a debounce function to avoid that much update cycles.

[Read more]

Quick Tip for the Week #2: Creating a simple wrapper around aider (AI assistant)

I’m not the biggest fan of AI usage while coding, but it’s definitely changed the way we produce and thinkg about code, so I decided to give it a try and integrate into my workflow (tried copilot in the past and couldn’t get used to the AI completion popping off all the time). After some months testing I settle myself with a working workflow: Just a chat assistant opened close to my editor which I can either use as an alternative to modern search engines when the query is too complex or to maintain a persistent conversation about possible solutions. I’ve being quite happy with that setup so far as it keeps me in control of the code that it’s being shipped while also benefitting from that speed of using an LLM. For the chat integration I chose using the aider chat.

[Read more]

Quick Tip for the Week #1: Making Netrw More Usable

It’s definitely not new to any Neovim user that we have a lot of file browser plugins, all over from the super minimalistic, like vim-dirvish, to the full-blown new experiences like oil.nvim or neo-tree.nvim. But what about netrw? You know, that file browser that comes default with (Neo)Vim and certainly has some weird behaviors? Recently I started thinking about what could be done to fix some of those weird behaviors and potentially remove yet another plugin in my crusade for minimalism. As always, I hope you find something useful for your own config. :)

[Read more]

Native Fuzzy Finder in Neovim With Lua and Cool Bindings

Recently, I read a particular blog post by yobibyte about a no-plugins approach to Neovim configuration, which stuck with me. I started to think more and more about how much stuff I really need for my config to suit my needs. Personally, the main reason why I resonate so much with a particular family of editors (Vim, Nvim, Kakoune, Emacs, etc.) is the ability to add as much stuff as you want, but at the same time the opportunity to remove as much bloat as possible—a little controversial, but if you think about it, it’s the best scenario for customizability. I remember watching a video about the concept of a PDE coined by a Neovim contributor called teej_dv, and it really stuck with me. These types of editors are more like an environment than just a product with a single goal.

[Read more]