feat: split view with tasks when loading zk daily
This commit is contained in:
parent
2af78f2234
commit
b3b352dd64
2 changed files with 7 additions and 0 deletions
|
@ -116,3 +116,7 @@ eval "$(jj util completion zsh)"
|
||||||
function reldate() {
|
function reldate() {
|
||||||
date -v "${1}" "+%Y-%m-%d"
|
date -v "${1}" "+%Y-%m-%d"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _zkhx() {
|
||||||
|
hx --hsplit tasks.xit ${1}
|
||||||
|
}
|
||||||
|
|
|
@ -30,3 +30,6 @@ sync = 'jj git fetch && jj git push'
|
||||||
log = 'jj log -r ".."'
|
log = 'jj log -r ".."'
|
||||||
diff = 'jj diff'
|
diff = 'jj diff'
|
||||||
daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"'
|
daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"'
|
||||||
|
|
||||||
|
[tool]
|
||||||
|
editor = "hx --hsplit journal/tasks.xit"
|
||||||
|
|
Loading…
Add table
Reference in a new issue