Vim Ignores Aliases
Solution 1:
Vim 'ignores' your aliases because your shell is not in a 'mood' to parse your .bash_profile/.bashrc
(you did not specify, where your aliases are defined) because it is not started as a login/interactive shell (read here to find out more about what is read when and for what reason).
So, you have several options:
- Put the code you use in your
pdflatex
alias into a script and call that - vimrc:
'set shell=/bin/bash\ -l'
, put your aliases to .bash_profile - Call your shell as an interactive/login shell:
:! bash -l -i -e 'pdflatex .'