diff options
-rw-r--r-- | bin/log/shellrc | 7 | ||||
-rw-r--r-- | vim/spell/en.utf-8.add | 16 |
2 files changed, 22 insertions, 1 deletions
diff --git a/bin/log/shellrc b/bin/log/shellrc index b3c95fc..504a129 100644 --- a/bin/log/shellrc +++ b/bin/log/shellrc | |||
@@ -1,7 +1,12 @@ | |||
1 | # about vimwiki | 1 | # about vimwiki |
2 | alias cdl='cd ~/log' | 2 | alias cdl='cd ~/log' |
3 | alias chw='tig -C ~/log' | 3 | alias chw='tig -C ~/log' |
4 | ww() { entry="${1:-inbox}"; vim ~/log/${entry%%.md}.md; } | 4 | ww() { |
5 | entry="${1:-inbox}" | ||
6 | entry="${entry%.md}" | ||
7 | file=$(find ~/log -name "${entry}*" | head -1) | ||
8 | $EDITOR $file | ||
9 | } | ||
5 | wj() { echo "$@" >>~/log/buffer.md; } | 10 | wj() { echo "$@" >>~/log/buffer.md; } |
6 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } | 11 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } |
7 | wi() { cat ~/log/${1%%.md}.md; } | 12 | wi() { cat ~/log/${1%%.md}.md; } |
diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index a943ffe..1e33afc 100644 --- a/vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add | |||
@@ -38,3 +38,19 @@ mdContent | |||
38 | updateAttributeByStep | 38 | updateAttributeByStep |
39 | MutationObserver | 39 | MutationObserver |
40 | mapCallback | 40 | mapCallback |
41 | OpenSMTPD | ||
42 | MDA | ||
43 | openstreetmap | ||
44 | listinfo | ||
45 | OSM | ||
46 | tw | ||
47 | topo | ||
48 | pham | ||
49 | rfc | ||
50 | datetime | ||
51 | STDIN | ||
52 | Sendmail | ||
53 | DMARC | ||
54 | DKIM | ||
55 | Github | ||
56 | Disqus | ||