How to open file in vim that is not in the current directory ?

I am using Windows computer.  I use telnet utility to connect to remote Linux machine and work on that machine remotely.

My embedded 'C' language project is in Linux machine.  I am using vim editor.  

Is it possible to open file in vim editor that is not in the current directory?
For example, from home directory I want to open a 'C' language file that's in any directory in the Linux File System.
LVL 1
naseeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jesse BruffettM&F-ing SorcererCommented:
yes.
vi /folder/subfolder/targetFile

Open in new window


just use "vi" then specify the file path to the file you want to edit before the file name.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arnoldCommented:
Presumably you mean you want to open a file outside the current directory without exiting your vim session.

Escape
:
At this command prompt you can read a file from anywhere in, look at the command options to find, open a new file, split the display so you have one file on top and another file at the bottom.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.