Perhaps a Vim jedi can help me.

When editing a file with Vim, I always get a .swp file created aside.
I set the following configuration in .vimrc but it doesn’t work:

set directory^=$HOME/.vim/swp//

The thing that my ~/.vim/ folder is an alias.
Is this configuration compatible with aliases ?


Just to be clear, when a say a .swp file, it's a swipe file without name. It's just `.swp`.

The `fileIAmEditingInVim.swp` goes in `$HOME/.vim/swp//` as configured