Josiah
josiah-denton.bsky.social
Josiah
@josiah-denton.bsky.social
Software Engineer & a bad plugin author
This is also handy for grabbing non-zero indexed visual selection. There's probably a better way but I use this 🤷‍♂️

I use math.min/max as the cursor's position can be at the top or bottom of the range.
January 10, 2025 at 5:03 PM
Draw ghost text using nvim's extmark API. I use this when I am waiting on a long running action over a selected code block (e.g. LLM code gen, code block execution)
January 10, 2025 at 4:56 PM
A handy shortcut to copy current relative file path to clipboard in neovim.
November 21, 2024 at 5:08 PM