Brennen Bearnes
2a763c4825
bin/pinboard: refactor, unify output format, LWP::Simple
- Uses LWP::Simple instead of shelling out to curl
- Prints a one-line tab-separated thing for each post
- Adds Getopt::Long and some usage info
4 years ago
Brennen Bearnes
40dae3f084
vim: Use all tags with VimwikiMakeLink
Including both stuff from pinboard and vimwiki.
4 years ago
Brennen Bearnes
2ef0ccfc32
fragments: time-piece.pl
Just a bit of stuff on usage of Time::Piece.
4 years ago
Brennen Bearnes
b2c3051626
bin/comment: some notes
4 years ago
Brennen Bearnes
85ee33062f
bin/pinboard: some hacky extra crap for search by tag
4 years ago
Brennen Bearnes
0b21c6c65b
vim: map ,w/ to GGrep
This is more useful by quite a bit than the builtin vimwiki search.
4 years ago
Brennen Bearnes
430b9f4fe6
git prompt: show stash state
4 years ago
Brennen Bearnes
1ef761ebbe
bin/fragment-vimwiki-diary: add exec-raw and nowrap by default
4 years ago
Brennen Bearnes
6f2c589b14
vim: fzf: add GGrep command
Adds a nice interface to `git grep` with a preview window for matching
files.
4 years ago
Brennen Bearnes
13820ca7b1
.sh_common: use .fzf/bin
4 years ago
Brennen Bearnes
52e5eeb3fb
fragments/color-tail: a perl oneliner for highlighting stuff
4 years ago
Brennen Bearnes
c26b8f0810
bin/matches-per-line: remove extraneous %counts hash
4 years ago
Brennen Bearnes
ec589d57ed
bin/matches-per-line: "documentation"
4 years ago
Brennen Bearnes
45e438603b
bin/matches-per-line: count regex matches per line of input
https://mspsocial.net/@earthtopus/105059383725674327
4 years ago
Brennen Bearnes
59aee8b73b
fragments/most-instances: find line w/most instances of substring
For earthtopus, who asks:
> say I have a big text file and I want to find the line(s) with the most
> instances of a substring on it. Say the most instances of the letter R.
>
> What's a good (and by good I mean lazy) way to do that?
There's probably a switch to grep or something for this, but whatever.
4 years ago
Brennen Bearnes
42dbd4e3ab
update README, rm grab for licensing reasons
4 years ago
Brennen Bearnes
297e850b0e
vimwiki diary: better log grepping & calendar fragments
The calendar one will get the entry syntax-highlighted correctly (it seems
to pick a syntax based on the last string).
The log one will work from any directory.
4 years ago
Brennen Bearnes
a88ae6d764
bin/notes-logs-for: stub comments
4 years ago
Brennen Bearnes
df393c207f
xmobar: stash an attempt at adding UTC to bar
This didn't work, but eventually it's a yak I'd like to finish shaving.
4 years ago
Brennen Bearnes
111edd5fc7
vim, notes: shellescape paths when finding logs / links
This was leading to a slighly cryptic error from zsh about unmatched single
quotes before I remembered that vim is actually invoking my current shell
to run these commands.
Came up when processing the page for Meghan O'Gieblyn.
4 years ago
Brennen Bearnes
ce22de57e3
bin/notes-logs-for: handle full paths to wiki pages
4 years ago
Brennen Bearnes
912b3b32e2
bin/pinboard: strip byte order mark
4 years ago
Brennen Bearnes
05495d693a
rm bin/machine-status
4 years ago
Brennen Bearnes
1670d4014d
bin/notes-collect-metadata: ignore same-page anchor links
4 years ago
Brennen Bearnes
237365f47c
.vimrc: `%% nowrap` for vimwiki pages
I tried something like this once before and it didn't work, but for
whatever reason it does now.
4 years ago
Brennen Bearnes
6db24bfc10
vimrc: source links from vimwiki-index; dict from tag index
VimwikiMakeLink() now draws from the list of existing vimwiki pages.
Ctrl-n / Ctrl-p draw from the list of all tags, which includes Pinboard
tags.
Arguably maybe these should use the same source.
4 years ago
Brennen Bearnes
41a2dec51f
bin/cheat: columnar layout
4 years ago
Brennen Bearnes
9699363e45
some xargs-alias fiddling
(Also IIRC this dir shouldn't be called xargs-alias. Whatever.)
4 years ago
Brennen Bearnes
f35e199e37
vim: add goyo.vim (distraction-free mode)
This seems cool for focusing on prose / poetry / etc.
4 years ago
Brennen Bearnes
79c88a3a86
xargs-alias: add sed version
4 years ago
Brennen Bearnes
1c06ae344b
fragments/xargs-alias
4 years ago
Brennen Bearnes
3f471bf036
bin/notes-logs-for: account for new notes-links-for format
4 years ago
Brennen Bearnes
4f83676267
vim / notes-links-for: use location window for links
This involves changing grepprg, running, and then changing it back.
Not entirely optimal, but the location window has some good features.
Changes notes-links-for output to match (ish) grep format.
4 years ago
Brennen Bearnes
3258d34f5c
vimrc: add ,v shorthand for visual select of inner Word
4 years ago
Brennen Bearnes
77903b70d5
vimrc: increase timeoutlen
So as to have longer to type longer mappings.
Unclear whether this is causing a perceptible lag in running filters, but
maybe.
4 years ago
Brennen Bearnes
bbe746176f
vimrc: correct vundle repo path in instructions
4 years ago
Brennen Bearnes
3fc489005a
vimrc: correct syntastic repo path
4 years ago
Brennen Bearnes
e690f5e8d4
bin/cheat: shorten
4 years ago
Brennen Bearnes
20c456b713
install.sh: add dnsutils (for dig)
4 years ago
Brennen Bearnes
40a4431acd
tmux: use actual xterm-256color override
4 years ago
Brennen Bearnes
b4fb1bc9a7
vimrc: update F7 for new path
4 years ago
Brennen Bearnes
0d5dcbb0fe
home/.vimrc -> home/.vim/vimrc
4 years ago
Brennen Bearnes
9bd00eee7d
.vimrc: notes-collect-metadata is in ~/bin now
4 years ago
Brennen Bearnes
e67e2e9a29
.vimrc: comment vimwiki_global_ext
This comes in Freenode #vimwiki a lot.
4 years ago
Brennen Bearnes
ed1843259e
bin/fragment-vimwiki-log: include input in template
4 years ago
Brennen Bearnes
8aa14384a7
bin/pinboard: add tag grabbing
4 years ago
Brennen Bearnes
d5e382f86a
vim: use new notes-* commands to deal with metadata
Also groups some autocommands.
4 years ago
Brennen Bearnes
f39f0da86c
.sh_common: exa: group directories first in l* aliases
4 years ago
Brennen Bearnes
548f5ac9a0
install.sh: add pandoc
4 years ago
Brennen Bearnes
dc9f946dc9
.gitconfig: shorten push-gerrit-review to push-gerrit
4 years ago