Use EDITOR and HOMEBOX vars in several places, use vim until nvim config
This commit is contained in:
parent
26fbf3ead6
commit
a9ce07d85d
@ -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
|
# use tmux-sessionizer in place of f find
|
||||||
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
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"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# life system shortcuts
|
# life system shortcuts
|
||||||
alias life-system='cd ~/dbox/life/system; clear; ls'
|
alias life-system="cd $HOMEBOX/life/system; clear; ls"
|
||||||
alias goals='clear; sed -n 2,7p ~/dbox/life/system/direction/goals/current-goals.txt'
|
alias goals="clear; sed -n 2,7p $HOMEBOX/life/system/direction/goals/current-goals.txt"
|
||||||
alias note='cd ~/dbox/life/system/tasks/inbox; vim'
|
alias note="cd $HOMEBOX/life/system/tasks/inbox; $EDITOR"
|
||||||
alias todo='cd ~/dbox/life/system/tasks; vim +5 todo.txt'
|
alias todo="cd $HOMEBOX/life/system/tasks; $EDITOR +5 todo.txt"
|
||||||
alias budget="open ~/dbox/life/finance/budget/.current"
|
alias budget="open $HOMEBOX/life/finance/budget/.current"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
set -o vi
|
set -o vi
|
||||||
|
|
||||||
# env vars
|
# env vars
|
||||||
export EDITOR='nvim'
|
export EDITOR='vim' # TODO: update to nvim once configured
|
||||||
export HOMEBOX=$HOME'/dbox'
|
export HOMEBOX=$HOME'/dbox'
|
||||||
export DEVDIR=$HOME'/dev'
|
export DEVDIR=$HOME'/dev'
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ export PATH=$PATH:/opt/homebrew/opt/ccache/libexec
|
|||||||
|
|
||||||
# executable name overrides
|
# executable name overrides
|
||||||
alias ls='ls -F'
|
alias ls='ls -F'
|
||||||
alias vim='nvim'
|
#alias vim='nvim'
|
||||||
|
|
||||||
# shortcuts for common commands
|
# shortcuts for common commands
|
||||||
alias 3e='echo;echo;echo'
|
alias 3e='echo;echo;echo'
|
||||||
|
Loading…
Reference in New Issue
Block a user