From f5a47d15d42a3aaaddf9d4daa70e28b5deeca104 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 8 Dec 2024 14:15:03 +0800 Subject: Update --- bin/log/shellrc | 7 ++++++- vim/spell/en.utf-8.add | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) 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 @@ # about vimwiki alias cdl='cd ~/log' alias chw='tig -C ~/log' -ww() { entry="${1:-inbox}"; vim ~/log/${entry%%.md}.md; } +ww() { + entry="${1:-inbox}" + entry="${entry%.md}" + file=$(find ~/log -name "${entry}*" | head -1) + $EDITOR $file +} wj() { echo "$@" >>~/log/buffer.md; } wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } 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 updateAttributeByStep MutationObserver mapCallback +OpenSMTPD +MDA +openstreetmap +listinfo +OSM +tw +topo +pham +rfc +datetime +STDIN +Sendmail +DMARC +DKIM +Github +Disqus -- cgit v1.2.3-70-g09d2