diff --git a/fish/aliases.config.fish b/fish/aliases.config.fish index 7e8e9d7..c6e615c 100644 --- a/fish/aliases.config.fish +++ b/fish/aliases.config.fish @@ -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" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/fish/settings.config.fish b/fish/settings.config.fish index 73b5f91..ccd2872 100644 --- a/fish/settings.config.fish +++ b/fish/settings.config.fish @@ -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"