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
2 years ago
Brennen Bearnes
67918d218b
xmonad: import NoFrillsDecoration
2 years ago
Brennen Bearnes
013a9da2e7
tmux: commented-out status-left
2 years ago
Brennen Bearnes
b39f065654
bin/ssh-nofucks: give slightly more fucks - don't forward agent
2 years ago
Brennen Bearnes
14821507ca
bin/ssh-listagents
This... Almost works?
2 years ago
Brennen Bearnes
2169407b88
`git vim` alias, courtesy dduvall
2 years ago
Brennen Bearnes
44d57871a6
xmobar: tweak layout slightly
2 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.
2 years ago
Brennen Bearnes
dc18a91ab4
bash: HISTCONTROL=ignoreboth
2 years ago
Brennen Bearnes
5f2a3f8da3
vimwiki: add a 3rd wiki to barebones testing vimrc
2 years ago
Brennen Bearnes
3b37371c5d
vimwiki diary template: have calendar(1) look ahead 2 weeks
2 years ago
Brennen Bearnes
0bb6e2289d
vimwiki: document a couple of defaults
2 years ago
Brennen Bearnes
b3c786022b
shell aliases: un-alias fdfind - i have fd installed now
fd is actually pretty nice, btw.
2 years ago
Brennen Bearnes
2d5da97635
disapparator: xplanations
2 years ago
Brennen Bearnes
ac270c78be
fifthglyphful-annihilation: first pass for rthtopus
2 years ago
Brennen Bearnes
1e938f5053
bin/notes-log-index
Just a quick index of logs, for the moment.
3 years ago
Brennen Bearnes
35d83c7807
vim: colorscheme back to iceberg
3 years ago
Brennen Bearnes
41d8839460
vim: vimwiki: highlight (gray out) checked todo items
3 years ago