Brennen Bearnes
b43888e7fc
bin/notes-calendar: display calendar stuff for given date
This just wraps the older calendar(1) invocation for the moment, just
adding a layer of indirection so it can include other data.
2 years ago
Brennen Bearnes
937f76dba9
.zshrc: remove google cloud sdk; add BPB_NOTES
2 years ago
Brennen Bearnes
9932c6f6fc
vimwiki: ,J instead of ,j for jumping
2 years ago
Brennen Bearnes
ac5c846201
stub bin/notes-pages docs
2 years ago
Brennen Bearnes
68ee943183
notes-collect-metadata: import pprint
2 years ago
Brennen Bearnes
fc9e1cb8b9
notes-logs-by-date: tack a 1; at end of file
In case this becomes a module.
2 years ago
Brennen Bearnes
f7f886681d
add experimental notes-pages
For querying overall page list.
2 years ago
Brennen Bearnes
28e6c97fdb
notes-links: remove --target requirement
2 years ago
Brennen Bearnes
c9817685d9
notes-tag-summary: 10 log items
2 years ago
Brennen Bearnes
6d4c036371
vimwiki jumps: open default wiki first if not on a wiki
2 years ago
Brennen Bearnes
7cdab06b58
vimwiki: add an fzf page / tag jumping binding to ,j
This is modeled on ,. for inserting a link.
2 years ago
Brennen Bearnes
78c126be9b
bin/notes-links: display links within notes in various formats
Uses metadata.db to find links targetting a particular page / tag, and
output in one of tsv, vimwiki list, vim location list, or fulltext.
Can be restricted to links from pages with dates, which makes it usable
for pulling logs.
Fully replaces the former:
- notes-links-for, of which it's a superset
- notes-logs-by-link
- notes-logs-for which was used for fulltext of a log, and wrapped
notes-links-for
This commit pulls into vim config as well.
2 years ago
Brennen Bearnes
00794a6e43
xmonad: comment out redshift for the moment
This needs work.
2 years ago
Brennen Bearnes
29b3e61d10
bin/pinboard: check for existence of ~/.pinboardrc
...and print a helpful error message.
2 years ago
Brennen Bearnes
3e43597fb6
vim: correct editorconfig & vim-gitgutter paths
2 years ago
Brennen Bearnes
e07ed8ba7d
.sh_common: add cabal path
2 years ago
Brennen Bearnes
95034eb343
vim: tidy plugins a bit, add some commentary
2 years ago
Brennen Bearnes
8cd45ad5d4
vim: use a location list for logs by default
2 years ago
Brennen Bearnes
040e697498
add notes-logs-by-link
2 years ago
Brennen Bearnes
5756204060
notes-logs-for: some commentary
2 years ago
Brennen Bearnes
8ea94fdfb8
notes-log-index: a log is a page with a datetime
...rather than something which happens to be in log/.
In practice this now includes diary entries.
2 years ago
Brennen Bearnes
cba1c13397
note metadata collection: implied dates for diary entries
2 years ago
Brennen Bearnes
6d198cc9d8
edit-clipboard: placate shellcheck
2 years ago
Brennen Bearnes
2be262f73f
add a minimal vimrc
2 years ago
Brennen Bearnes
2b7c6211ec
add fragments/markdown
2 years ago
Brennen Bearnes
f709ceb8c7
.sh_common: alias 'n' to 'notes'
2 years ago
Brennen Bearnes
06be7ce84d
fragments/pandoc-filter
A example of manipulating header self-links and a table of contents.
This is mostly useless, but I didn't want to forget how I did it.
2 years ago
Brennen Bearnes
eb7bf60a34
notes-tag-summary: add head of log
2 years ago
Brennen Bearnes
26a55207ca
notes-links-for: order on _page_ of the link, not its target
2 years ago
Brennen Bearnes
3827833529
notes-tag-index: s/UNIQUE/DISTINCT/
2 years ago
Brennen Bearnes
009cce8e11
notes-tag-summary: show if stuff is on p1k3
2 years ago
Brennen Bearnes
383c1e3c6b
notes-tag-index: uniq to avoid repetition
2 years ago
Brennen Bearnes
36657b2647
notes-p1k3-index & notes-tag-index
2 years ago
Brennen Bearnes
8b3c8f278c
vimwiki logs: <Leader>l for writing a new one, etc.
Swaps the lesser used commands here out to the longer key sequences. It
turns out I write these more often than I look them up for a given tag.
2 years ago
Brennen Bearnes
9fe11bc4b6
xmobar: re-add battery to template
2 years ago
Brennen Bearnes
850e89af3e
bin/fragment-date: chop off newline
2 years ago
Brennen Bearnes
cde1384cc6
xmonad: border colors, a mod-d to get date in clipboard
2 years ago
Brennen Bearnes
dece4749d8
updated cheatsheet with some stuff from post-it notes
2 years ago
Brennen Bearnes
2a20ca1f40
aliases: mk & mka should use marks
After redesigning the interface to that one a bit.
2 years ago
Brennen Bearnes
04cf4efc72
vimwiki: don't obscure URLs
2 years ago
Brennen Bearnes
4e73334b2e
bin/pinboard: a more useful comment re: default action
2 years ago
Brennen Bearnes
7128e28293
bin/git-log-with-tags
3 years ago
Brennen Bearnes
67918d218b
xmonad: import NoFrillsDecoration
3 years ago
Brennen Bearnes
013a9da2e7
tmux: commented-out status-left
3 years ago
Brennen Bearnes
b39f065654
bin/ssh-nofucks: give slightly more fucks - don't forward agent
3 years ago
Brennen Bearnes
14821507ca
bin/ssh-listagents
This... Almost works?
3 years ago
Brennen Bearnes
2169407b88
`git vim` alias, courtesy dduvall
3 years ago
Brennen Bearnes
44d57871a6
xmobar: tweak layout slightly
3 years ago
Brennen Bearnes
ff683afafc
bin/notes-logs-by-date: find logs for a vimwiki diary entry
This spits out links in VimWiki syntax, which is more readable and useful
in context than just a raw list of grep results.
(For the grep results, I could always use `gf` to jump to the file, but
it didn't then get added to the VimWiki location list, so the back command
wouldn't work.)
This also uses an sqlite query against an already-built table instead of
pawing through a bunch of files on disk, which is probably faster.
3 years ago
Brennen Bearnes
dc18a91ab4
bash: HISTCONTROL=ignoreboth
3 years ago