this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(zsh): daily note shortcut

Seth Etter 475865e5 2806cdff

+18
+3
misc/tmux.conf
··· 66 66 bind c new-window 67 67 bind , command-prompt "rename-window '%%'" 68 68 69 + # Open daily note 70 + bind N split-window -h 'dn; tmux kill-pane' 71 + 69 72 # Copy mode 70 73 setw -g mode-keys vi 71 74 bind-key -T copy-mode-vi 'v' send -X begin-selection
+15
zsh/zshenv
··· 62 62 tmux switch -t $session_name 63 63 } 64 64 65 + # Opens for today's note in ~/obsidian/brain/Daily/ 66 + # Gets timestamp formatted like YYYY-MM-DD.md 67 + function dn { 68 + vault="brain" 69 + if [[ $(hostname) == "nebula" ]]; then 70 + vault="zapier" 71 + fi 72 + 73 + daily_notes="$HOME/obsidian/${vault}/Daily/" 74 + todays_note="$(date +%Y-%m-%d).md" 75 + 76 + cd $daily_notes 77 + nvim -c "Goyo" -c $'normal Go\eo***\eo\eo' -c "startinsert" $todays_note 78 + } 79 + 65 80 # https://esham.io/2025/05/shell-history 66 81 function smite() { 67 82 setopt LOCAL_OPTIONS ERR_RETURN PIPE_FAIL