yasnippet: translate ~ to full path
fix problem with buffers cycling