Currently all I have to do is type vim file_name
and it will make that file in the current directory (usually user because that is where the command line start at if you don't use the cd command). It would annoy me tremendously to have to move to the documents folder every time I want to open a vim file. Would there be a way to do this automatically? Maybe using aliases?
My vim version info: VIM - Vi IMproved 7.4 Huge version with GTK2 GUI
vim directory/another_directory/yet_another_directory/file_name
In the case of using theDocuments
folder, you could use the following:vim Documents/file_name
. I like your alias idea, though. For someone new to Linux and the idea of file paths in general, this is a good question.