mklein994
Joined 9 years ago
Joined 9 years ago
With `bash`, you can show which mode you're in by putting this in your `~/.inputrc`:
show-mode-in-prompt on
It makes your prompt look like this: [foo@bar ~]$ # before turning it on
@[foo@bar ~]$ # after
@[foo@bar ~]$ set -o vi
(ins)[foo@bar ~]$ # and after I press esc:
(cmd)[foo@bar ~]$
Customize these with `emacs-mode-string`, `vi-ins-mode-string`, and `vi-cmd-mode-string`.What I do in these situations (assuming the job is still in the foreground, and can be interrupted), is suspend the task with ctrl+z and resume with `fg`, chaining it with some other command:
fg; notify-send "done"
This uses the "job control" feature of `bash`, so it requires no extra setup. Your approach has the simple advantage however, that once it's set up, it just works, automatically. git commit --fixup=':/message regexp'
This will find the youngest commit where the message matches the "message regexp" pattern.
See also: https://git-scm.com/docs/gitrevisionsIf I were to apply this patch, this commit will…
- Simplify FooWidget
- Add optional table support
- Remove trailing whitespace
- Update fizzbuzz to 1.2.0
- Merge branch 'feature/ABC-123-foobar'
- Revert "Add foo to bar"
https://github.com/microsoft/cascadia-code
It has the option to enable cursive italics, which is disabled by default. Been using it for over a year. No complaints.
It's not quite a drop-in replacement, but it's pretty close. They have a free plan for 1,000 calls/day.
It's a browser extension, and it's been very pleasant to use. I came across it on a previous Show HN post: https://news.ycombinator.com/item?id=22545878
Now if only it worked on mobile…
I would learn it on the bus, and at the time I didn't have a data plan, so I could only access things I had already downloaded. The `:help` documentation is very thorough.