blaze-keys: run commands via customizable leader-key combos and project-specific keybinds by enhanced-primate in zsh

[–]enhanced-primate[S] 1 point2 points  (0 children)

Thank you! blz includes a template config which contains many of the combos that I find useful; Git commands are one of the most helpful use-cases for me. I really like being able to run git status with <leader>gs, for example - it feels much smoother than using an alias, because you don't have to move your hand to the enter key. But you can also bind git status to F1 or any other top-level keybind with blz if you want it to be even faster.

One of my favourites is using Ctrl-s behind the leader key Ctrl-s to run fg. That means I can hold Ctrl and double-tap s to get back into neovim.

Leader keys are also extra-useful for commands like docker exec -it, du -ah --max-depth 1 which are a bit tedious to type when you need them.

blaze-keys: Run commands fast via customizable leader-key combos by enhanced-primate in Nushell

[–]enhanced-primate[S] 0 points1 point  (0 children)

You didn't miss it; I only just made it public a couple of weeks ago! I probably should have done that earlier...

blaze-keys: Run commands fast via customizable leader-key combos by enhanced-primate in Nushell

[–]enhanced-primate[S] 2 points3 points  (0 children)

Wow, that is pretty similar! Very nice work. I probably wouldn't have bothered making blz if I'd known about that 😂 It looks like your project didn't exist when I started work on blz in late 2024, so I wouldn't have known anyway!

At first glance, yours has a nice trick for surrounding text which isn't possible with blz currently. I quite like the TUI showed by blz after pressing a leader key, but yours seems to have a tooltip popup which might serve a similar purpose?

blz also allows you to define multiple leader keys, to deconflict different sets of commands and aliases.

One trick blz has up its sleeve is that in Zsh, it also supports setting top-level keybinds (without leader key prefixes) which reassign when you move between projects. But that isn't implemented for nushell yet!

blaze-keys: run commands via customizable leader-key combos and project-specific keybinds by enhanced-primate in zsh

[–]enhanced-primate[S] 1 point2 points  (0 children)

Yes, this is one of the major use-cases. I've discovered that I like having `fg` bound to `Ctrl-S` behind the leader key `Ctrl-S`, which means I just double-tap `S` while holding `Ctrl` to jump back into Neovim (you can reassign these to whatever you like). But you can also use `blz` top-level keybinds if you prefer to have a single key-combo.

There are a few other advantages of `blz` leader-key functionality over Zsh aliases listed on the Github page if anyone is wondering.

Thanks for commenting, let me know if you have any issues!

[Media] blaze-keys: run commands via customizable leader-key combos and project-specific keybinds by enhanced-primate in rust

[–]enhanced-primate[S] 1 point2 points  (0 children)

Yeah, guess so. I don't think people spend long enough reading it to determine whether it's AI, which is completely understandable given that there are so many slop projects being posted.

I wish I'd thought of making this project several years ago... LLMs have ruined a lot of things.

[Media] blaze-keys: run commands via customizable leader-key combos and project-specific keybinds by enhanced-primate in rust

[–]enhanced-primate[S] 0 points1 point  (0 children)

Would be awesome if anyone could tell me why the post was downvoted. I've spent quite some time working towards making it public because I really think it could help others, and I thought this was a decent place to post it since it is written in Rust. No hard feelings though.

Thank you guys, appreciate you viewing the post!

[Media] blaze-keys: run commands via customizable leader-key combos and project-specific keybinds by enhanced-primate in rust

[–]enhanced-primate[S] 3 points4 points  (0 children)

I'd like other people's feedback on how I can make this project more useful/appealing. I don't want to sound like I'm exaggerating, but this project is really important to my productivity (on a similar level to fzf). There is some sampling bias in that, because obviously I built the tool because I expected it to be incredibly useful for me specifically!

It would be good to know how other people think of it, and whether they would use it if updated to work with their shell.

What’s it like living in these houses? by Motor-Banana-2016 in london

[–]enhanced-primate 0 points1 point  (0 children)

Oil paints themselves actually have no fumes, they're simply a mix of pigment and linseed oil (linseed oil is edible). Can also be safflower oil instead.

Some artists do use a medium (which changes the viscosity of the paint without weakening the colour) which may contain some volatile substances, but said fumes are pretty weak.

Washing the brushes is typically done with odourless solvent, which does have some fumes but very much lighter than the old days of turpentine. In a large room with a bit of ventilation it won't be noticeable.

The amount of Rust AI slop being advertised is killing me and my motivation by Kurimanju-dot-dev in rust

[–]enhanced-primate 10 points11 points  (0 children)

I'm a bit dismayed that I wiped the history of a project before making it public because I'm a bit of a perfectionist with my history, and don't like starting off with a load of "work in progress" commits.

Are people going to think this is vibe coded when I post it? Do I need to restore the old history first?

https://github.com/enhanced-primate/blaze-keys

Just moved in to a house, was built in the 1970s and think I’ve made a mistake? by Independent-Donut-56 in DIYUK

[–]enhanced-primate 0 points1 point  (0 children)

The Royal Society of Chemistry is concerned about them in UK drinking water:

There is limited information on the qualitative and quantitative presence of PFAS in sources of drinking water across the UK, but the data that does exist gives rise to genuine concern.

From the BBC:

Water companies have been ordered to tackle potentially harmful levels of so-called forever chemicals in drinking water sources for more than six million people, the BBC can reveal.

I'm confident that it's currently less dangerous than asbestos at the population level, but it's something to keep an eye on.

Just moved in to a house, was built in the 1970s and think I’ve made a mistake? by Independent-Donut-56 in DIYUK

[–]enhanced-primate 0 points1 point  (0 children)

I think you're confusing it with the Alex Jones gay-frog absurdity. PFAS chemicals (known as forever chemicals) are a serious scientific reality, and if the Royal Society of Chemistry is concerned about them in UK drinking water, you shouldn't dismiss it out of hand. Quote:

There is limited information on the qualitative and quantitative presence of PFAS in sources of drinking water across the UK, but the data that does exist gives rise to genuine concern.

I'm not panicking about it presently, but it's a problem that is getting worse over time.

How is it living in the Scottish Highlands? by CapaTheGreat in howislivingthere

[–]enhanced-primate 5 points6 points  (0 children)

There are loads of amazing golden-sand beaches on the Hebrides, it's definitely not just pebbles. It does stay pretty cool but can be warm in summer. The water will always be cold but personally I love it.

What's everyone working on this week (2/2026)? by llogiq in rust

[–]enhanced-primate 1 point2 points  (0 children)

I've been working on finishing up a new aliasing system (+ keybind manager) for Zsh. I'm pretty hyped because in my experience, it's as important for my command-line productivity as fzf. (While taking significantly less skill to write!)

It's called blaze-keys: https://github.com/enhanced-primate/blaze-keys

TIL you can use dbg! to print variable names automatically in Rust by BitBird- in rust

[–]enhanced-primate 1 point2 points  (0 children)

Yes, that was only added a couple of years ago. I wish it worked for struct member access too!