aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/log/shellrc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/log/shellrc')
-rw-r--r--bin/log/shellrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/log/shellrc b/bin/log/shellrc
new file mode 100644
index 0000000..721ed1b
--- /dev/null
+++ b/bin/log/shellrc
@@ -0,0 +1,12 @@
1# about vimwiki
2alias cdl='cd ~/log'
3alias chw='tig -C ~/log'
4ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; }
5wj() { echo "$@" >>~/log/buffer.md; }
6wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; }
7wi() { cat ~/log/${1%%.md}.md; }
8wD() { rm ~/log/${1%%.md}.md; }
9alias dia='diary'
10alias dias='diary specify'
11alias diaa='diary print'
12alias diat='diary today'