I want to open another file in the same directory or any file with its path relative to the current directory in command line.
My path is
/home/sibich> vim a.pl
In vim, I want to open b.pl in same directory, so I use :
Bit I receive this message
Invalid pattern or filename
So, I had to give it in shell.
I want to directly execute this in vim.
Example 2: sub is a folder under
Is there a way to set options such that command line accepts path relative to current directory and allows opening files through split, tabnew and vim commands?
:vimis short for
:vimgrep. Is there a reason you aren't using
vimtutoror used google to find a solution?