Been tinkering with a small terminal agent that runs offline using ollama and can do simple stuff like open sites, search, chat, and run commands. It’s themed as an anime maid because it seems cute.
The ASCII art I’m using right now is kinda plain, though, so if anyone’s up for making it cuter, I’d really appreciate it. Contributions are most welcome.
For years I've been using `vim -d` (or `vimdiff`) on two or more files to compare them and see the differences.
I just learned that there are special commands for working with diffs in `vimdiff`:
`]c` moves the cursor to the next block of differences.
`[c` moves the cursor to the previous block of differences.
`dp` pushes the diff that your cursor is on to the other file.
`do` obtains the change from the other file and applies it to the file that your cursor is on.
Inspired by the #Indieweb and #Emacs carnivals, I wanted one about #Vim / #Neovim, and here it comes. It will start in September, so you have two weeks to think, and blog about it.
#editor #terminal #writing #blog #blogging #fediverse #mastodon #carnivals
#100DaysToOffload : 85/100
Journaling using Nix, Vim and coreutils
Link: https://tangled.sh/@oppi.li/journal
Discussion: https://news.ycombinator.com/item?id=44876356
The most important sbt plugin is now cross-compiled to sbt 2.x! #scala #vim https://github.com/sbt/sbt-vimquit/releases/tag/v0.1.1
set completeopt=longest,menu
Holy shit, I've been trying to figure out how to do this for months! It's bash-style autocomplete for text entry, meaning: insert the longest common string that fits here.
By default Vim inserts the first full word that starts with the value, which I've always give super annoying.
Eg if I have "MyFooBar1", "MyFooBar2", and I autocomplete on "MyF", what I want to see is "MyFooBar", and then it's up to me to type the rest (or tab though the suggestions). The default behaviour is would be to insert the first suggestion, "MyFooBar1".
It's not helped by searches for vim autocomplete turning up stuff for autocompleting *vim commands*. For that, you want wildmode and wildmenu, not completeopt.
I am almost 38 years old, and I do not regret many things in life. I just wish that I had learned Vim motions sooner in my life.
One of the advantages of using vim is that you can finish typing most of your rants with :q!
... and loop as many times needed /s