How to define new command in Latex in separate file
% 1. create file called aronlib.tex
% 2. create new command
\newcommand\bigvec{1}\overrightarrow{#1}

% 3. include the aronlib.tex
\input{aronlib.tex}

% 4. done!