Location aliases

This commit is contained in:
punkfairie 2024-02-06 18:49:23 -08:00
parent b217f4051d
commit 7d50d0ee4b
No known key found for this signature in database
GPG key ID: 0858B0F48128A755
2 changed files with 15 additions and 1 deletions

View file

@ -11,7 +11,16 @@ abbr -a v --position command "$EDITOR"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Location aliases. # Location aliases.
abbr -a hack --position command "cd ~/hackin" abbr -a hack --position command "cd $HACK"
abbr -a dotf --position command "cd $DOT"
abbr -a dote --position command "cd $DOT && $EDITOR"
abbr -a nvdir --position command "cd $NVIM"
abbr -a nved --position command "cd $NVIM && $EDITOR"
abbr -a nvl --position command "cd $NVLUA"
abbr -a nvled --position command "cd $NVLUA && $EDITOR"
abbr -a nvc --position command "cd $NVCUSTOM"
abbr -a nvced --position command "cd $NVCUSTOM && $EDITOR"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View file

@ -3,6 +3,11 @@
# Projects dir. # Projects dir.
set -gx HACK "$HOME/hackin" set -gx HACK "$HOME/hackin"
# Neovim dirs.
set -gx NVIM "$HOME/.config/nvim"
set -gx NVLUA "$HOME/.config/nvim/lua"
set -gx NVCUSTOM "$HOME/.config/nvim/lua/custom"
# Editor. # Editor.
set -gx EDITOR nvim set -gx EDITOR nvim
set -gx VISUAL "$EDITOR" set -gx VISUAL "$EDITOR"