I very often need to open files through vsplit/split. Very often I want to open files in the same directory. Still, I must pass their paths to vsplit/split.:vsplit @/siblingfile.txt@ is an alias equal to the path of the current file (that exists only in my imagination of course but you got the idea :) ).Is this possible?UPDATE--> vim --versionVIM - Vi IMproved 7.2 (2008 Aug 9, compiled Nov 24 2016 16:00:18):echo has('cmdline_compl') displays 1
shortcut of the current directory path when vsplit/split
split;variables;path
You're looking for %:h/NB: you can tab-complete at any point after the :h.