diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index be1d365..4938948 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -116,3 +116,7 @@ eval "$(jj util completion zsh)" function reldate() { date -v "${1}" "+%Y-%m-%d" } + +function _zkhx() { + hx --hsplit tasks.xit ${1} +} diff --git a/home/private_dot_config/zk/config.toml b/home/private_dot_config/zk/config.toml index f627666..d29c280 100644 --- a/home/private_dot_config/zk/config.toml +++ b/home/private_dot_config/zk/config.toml @@ -30,3 +30,6 @@ sync = 'jj git fetch && jj git push' log = 'jj log -r ".."' diff = 'jj diff' daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"' + +[tool] +editor = "hx --hsplit journal/tasks.xit"