Published

All published posts

2717 posts latest post 2026-11-11
Publishing rhythm
Oct 2026 | 30 posts

This one is one that I’ve been using quite often, I did’t have a hotkey for it, I just used the rm shell command.

!!rm %<TAB><CR>

When you type !! from normal mode it will automatically put you in command mode with .! pre-filled, then you just type rm and <TAB> to auto-complete the current file name, and <CR> to execute the command.

:.!rm %<TAB><CR>

Making it better #

The one quirk that I don’t like about this is that the buffer remains open after deleting, and sometimes I forget to close it and end up re-creating it by mistake when running :wall or :xall.

Create a DeleteFile command with vim command.

:command! DeleteFile execute "!rm %" | bdelete!

Create a DeleteFile command with lua.

vim.api.nvim_create_user_command(
  'DeleteFile',
  function()
    -- Delete the current file from disk
    vim.cmd('!rm %')
    -- Close the buffer without saving
    vim.cmd('bdelete!')
  end,
  {}
)
The Knight collects the mark of pride charm after defeating the mantis lords.
The Knight reigns victorious against the three mantis lords, earning the respect of the mantis village.
The Knight falls victim to the Mantis Lords in his first attempt to challenge them.
The little night steps in front of the three mantis lords and draws his nail signaling his challenge.
Parkour though the thorns yields a wanderers journal.
Unlocking the Spore Shroom Charm in Hollow Knight Keeb Run
A tricky parkour through the thorns to yield a mask shard and complete a full mask.
Cut Away Keycap Down
A cut away keycap on a Durock lupine switched pressed all the way to bottom out.
Cutaway Key Cap Up
A cutaway keycap sitting on a durock lupine switch
Freshly Cut Keycap Cut Away
A keycap glued to a 2x4 freshly turned into a cut away keykap.

Keycap Cut Away

I was curious how/if my custom keycap design was hitting my switches. So I set out to find out what the fitup inside of this assembly looks like, but not theoretically, a fully sliced view into their fit up in the flesh. The set up To setup for this cut, I flooded the edge of a 2x4 with hot glue, and inserted the cap such that the step was tangent with the edge. This way I could use the edge as a guide to cut one side off and leave the stem in tact. I took a handsaw to it and filed it smooth. Removal was applying some isopropyl alcohol and it popped right off. Results Actually the results aren’t that interesting. I found that the pictures turned out really good, but nothing was touching and it sits in the stem exactly as I thought it did. I had a thought, what if the cap is not allowing the switch to reach it’s full travel, and had no way to know, but now I know.
1 min read
The long trek has paid off and we have aquired Isma's tear, it coats our outter shell with protective coating from the acid, giving us access to new parts of the world.
Finishing the battle before accessing Isma's tear in Hollow Knight
Making light moves of this tricky parkour run between deepnest and the royal waterways
Learn to use email with git! git-send-email.io This site gives us a glimpse into the development workflow using git over email, without remote centralized servers. I found it interesting how patches can be sent with an optional cover letter nearly like a pr would be made.

Knife Sharpener Small Upgrade

I’ve used this knife sharpener that I printed for a few years now. I thought that it was based on the Russian designed TSPROF, but in looking through the history it looks very similar to the USA Edge Pro Inc Apex designs that goes back to the 1990’s. The angle isn’t quite holding like it used to. I’ve got a lot of ideas for my own model, but for now I’m going to print some spacers to help get repeatable angles. so I may have went to the next level
1 min read

Vim :noa is a command that runs what you call without autocommands on. This is typically used when you have some BufWritePre commands for formatting, most auto formatters are implemented this way in vim. It can be super useful if you have something like a yaml/json file that you have crafted perfectly how you want it, maybe it has some source code for a small script or sql embeded and your formatter wants to turn it into one line. You could get a better formatter, but for these one off cases that aren’t a big bother to me I run :noa w.

:noa w
Repository Mirrors | Forgejo – Beyond coding. We forge. forgejo.org Forgejo supports repository mirrors, I think this is how I am going to handle migrating all of my github repos into forgejo. over time I’ll probably go through and delete a bunch of unnecessary one from github, ones that might have a user or two I might keep on github. I have such small scale projects with almost no users I am not sure that It really matters for me or not.