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/ /home/sibich> vim a.plIn vim,  I want to open b.pl in same directory, so I use ::vim b.plBit I receive this message Invalid pattern or filenameSo, I had to give it in shell.  :!vim b.plI want to directly execute this in vim.Example 2: sub is a folder under /home/sibich  :vim sub/c.plIs 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?
opening another file with path relative to current directory
working directory
Have you tried the edit command?:edit b.plEdit: Not sure if you edited in the last question, or I just missed it the first time. But the only reason you wouldn't be able to use relative paths on :split or :tabnew is if your current working directory isn't the same as the file you're currently editing. So I think what you're looking for is :set autochdirThis option basically makes your current working directory follow you whenever you change buffers. With that options set, you should be able to use relative paths. See :h autochdir for more info.