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?