vim - open file with complete path
Posted
by David Oneill
on Stack Overflow
See other posts from Stack Overflow
or by David Oneill
Published on 2010-05-17T14:27:25Z
Indexed on
2010/05/17
14:30 UTC
Read the original article
Hit count: 127
vim
If I have a file that contains a complete path for a file, is there a way to highlight the filename (using visual mode) and open the file? (preferably in a split screen)
As I think about it, here is what I would like: if the file name contains a /
character, assume it is a full path (IE the 'current directory' is root). Otherwise, use the current folder (IE default behavior) Is this possible?
© Stack Overflow or respective owner