✨ Location aliases
This commit is contained in:
parent
b217f4051d
commit
7d50d0ee4b
2 changed files with 15 additions and 1 deletions
|
@ -11,7 +11,16 @@ abbr -a v --position command "$EDITOR"
|
|||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
# 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"
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
# Projects dir.
|
||||
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.
|
||||
set -gx EDITOR nvim
|
||||
set -gx VISUAL "$EDITOR"
|
||||
|
|
Loading…
Reference in a new issue