[vimrc] created function switch swaps between hpp and cpp files
[vimrc] changed swap function to always use directory of currently open file