Adds a menu for grabbing input from bin/fragment-*. Adds a couple of
new fragments, and moves today → fragment-today.
This needs work:
- it's remarkably slow
- it has an external dependency in FZF
- I'm not sure about the keybindings
- it removes a couple of bindings I'm really used to
- it's not documented with "CUSTOMIZE" markers
- this only works in gvim with a recent build of vim 8.1
It might be better if the fuzzy-finder were vim-native, if it
distinguished between full-on document templates and small fragments, etc.
I'm also starting to think it'd be good to compartmentalize some of this
config.
This takes care of everything in the session being able to see the correct
$PATH material - I'd been fiddling with .profile, which is arguably where
this ought to live, but I don't think my prepend_to_path() is valid for
/bin/sh? I'll probably tidy this up later, but at any rate it solves a
bunch of problems.
Also enables the deletion of bin/firefox-wrapper.
Uses date(1) to parse a given date and use it for the header (by way of
bin/today) instead of just defaulting to current date.
This way the template is accurate when opening other diary dates from
the calendar.
It turns out that you can use `:0r !foo` to avoid the blank line I was
deleting in BPB_DiaryFragement() and BPB_DatestampHTML().
Also remove a commented-out YouCompleteMe install.
addscript: add a new script in ~/bin.
f-to-c: convert degrees Fahrenheit to degrees C. A wrapper around
units(1), because I'm always forgetting the syntax for this.
put-mv-notes: move the currently yanked file to ~/notes.
Use fzf to select files from changed files (including untracked) in a
working tree. Thanks to @tomasino@mastodon.sdf.org for the git subcommand
idea here - these are scripts rather than aliases, but the interface
is pretty well the same:
https://mastodon.social/@brennen/101440377610036479