3
2
If I'm working on a file located on e.g. ~\myprojects\testproject\hello.txt
and then want to open a new file in the same directory e.g. todo.txt
(located on ~\myprojects\testproject\todo.txt
), how can I do that efficiently with gvim on Windows?
Today I have to type this command, maybe using tab-completion for the paths:
:e ~\myprojects\testproject\todo.txt
Is there any shorter command e.g:
:e .\todo.txt
in gvim on Windows?
If I use .\todo.txt
, that file will be located on C:\Windows\system32
, that's not even my home directory. Is there any setting to specify my home directory as default instead? or any other diectory?
No, that file is also place in
C:\Windows\system32
and not in~\myprojects\testproject\todo.txt
. – Jonas – 2011-12-08T11:58:27.830Sorry, I misread your question. I will come back with a proper answer soon. – ReyCharles – 2011-12-08T12:01:33.317
How about now? Does this answer your question? – ReyCharles – 2011-12-08T12:10:20.237