diff --git a/modules/fasd/aliases.zsh b/modules/fasd/aliases.zsh new file mode 100644 index 00000000..7d6861c8 --- /dev/null +++ b/modules/fasd/aliases.zsh @@ -0,0 +1,8 @@ +# +# Aliases +# + +alias j='fasd_cd -id' # Changes the current working directory interactively. +alias v='fasd -f -t -e $EDITOR' # use Vim's builtin list of accessed files (similar rupa/v) +# alias v='fasd -f -e vim' # +# alias v='fasd -f -t -e vim -b viminfo' # use Vim's builtin list of accessed files (similar rupa/v) diff --git a/modules/fasd/init.zsh b/modules/fasd/init.zsh index ad922ae9..c04c00f5 100644 --- a/modules/fasd/init.zsh +++ b/modules/fasd/init.zsh @@ -45,10 +45,6 @@ function fasd_cd { fi } -# -# Aliases -# +source ${0:h}/aliases.zsh -alias j='fasd_cd -id' # Changes the current working directory interactively. -alias v='fasd -f -t -e vim -b viminfo' # Mimics rupa/v: opens the file with vim using viminfo backend.