Use EDITOR and HOMEBOX vars in several places, use vim until nvim config

This commit is contained in:
david pickle 2025-01-20 15:35:27 -06:00
parent 26fbf3ead6
commit a9ce07d85d
3 changed files with 8 additions and 8 deletions

View File

@ -26,5 +26,5 @@ bind Q rename-session zzzz-temp-kill\; switch-client -p\; kill-session -t zzzz-t
# use tmux-sessionizer in place of f find
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
# bind -r D neww -c "#{pane_current_path}" "[[ -e TODO.md ]] && nvim TODO.md || nvim ~/personal/dev/todo.md"
# bind -r D neww -c "#{pane_current_path}" "[[ -e TODO.md ]] && $EDITOR TODO.md || $EDITOR ~/personal/dev/todo.md"

View File

@ -1,7 +1,7 @@
# life system shortcuts
alias life-system='cd ~/dbox/life/system; clear; ls'
alias goals='clear; sed -n 2,7p ~/dbox/life/system/direction/goals/current-goals.txt'
alias note='cd ~/dbox/life/system/tasks/inbox; vim'
alias todo='cd ~/dbox/life/system/tasks; vim +5 todo.txt'
alias budget="open ~/dbox/life/finance/budget/.current"
alias life-system="cd $HOMEBOX/life/system; clear; ls"
alias goals="clear; sed -n 2,7p $HOMEBOX/life/system/direction/goals/current-goals.txt"
alias note="cd $HOMEBOX/life/system/tasks/inbox; $EDITOR"
alias todo="cd $HOMEBOX/life/system/tasks; $EDITOR +5 todo.txt"
alias budget="open $HOMEBOX/life/finance/budget/.current"

View File

@ -2,7 +2,7 @@
set -o vi
# env vars
export EDITOR='nvim'
export EDITOR='vim' # TODO: update to nvim once configured
export HOMEBOX=$HOME'/dbox'
export DEVDIR=$HOME'/dev'
@ -12,7 +12,7 @@ export PATH=$PATH:/opt/homebrew/opt/ccache/libexec
# executable name overrides
alias ls='ls -F'
alias vim='nvim'
#alias vim='nvim'
# shortcuts for common commands
alias 3e='echo;echo;echo'