Fish shell trick: abbr --set-cursor
Here’s a cool fish trick:
abbr --add jjc --set-cursor -- 'jj commit -m "%"'
This adds an abbreviation, which is a like an auto-expanding bash alias, that puts your cursor at the % character.
So when I type jjc in my terminal and hit space, that expands to:
jj commit -m "<cursor>"
Handy!