Home » Questions » Computers [ Ask a new question ]

Directory Shortcuts in Vim

Directory Shortcuts in Vim

Does anyone know a good/neat way to create directory shortcuts in Vim?

Asked by: Guest | Views: 211
Total answers/comments: 2
Guest [Entry]

You can use cmdalias for Vim. Then you can make custom aliases such as cdsrc to change to a directory like /home/user/project/source.
Guest [Entry]

"NerdTree provides bookmarks handling. See "":h NerdTreeBookmarks"".

While not directly accessible via "":cd"", there is at least "":NERDTreeFromBookmark"", where you can then ""cd"" to this (or another dir).

Also ""B"" in the NERDTree window will toggle display of bookmarks, and allows to easily access them."