I tend to edit particular text files much more often than others. There might be 30 or 40 or so different files I tend to edit most often. Plus there are others that kind of rotate in and out as things I am temporarily working on. Even though I might infrequently edit them, during periods of work involving that file I might frequently access the file many times over a short time period, say a week.
The problem is how to open these files quickly in Vim.
Currently I generally just type :e
then manually type in the full path in the command line which is pretty tedious. Also, if I don't remember the path, then I end up either leaving Vim altogether and going to Caja to find the file, or using :Sex
.
The only shortcuts I currently use is that I have about 10 aliases for going to particular directories. So, for example, if I am working on a project where several needed files will be in a commonly used directory, then I use the alias to change to there, then open Vim. After that, I don't need to type the full path. I just have to enter the file name. However, this method only works for directories where I have big projects going, which is only a few of them. Most of the files I edit are in one off places. Also, I don't want to try to remember 50 different aliases. I have a hard enough time just remembering the 10 I already have.
What I would really like would be a hotlist of my most commonly used files with a numeric or alphabetic key. So, I could, for example, press a hotkey and a multi-column list comes up of my favorite files. Then I would press, say, 'C' to open the file keyed as 'C' or whatever. That would allow me to open any of my favorite files in 2 keystrokes, which would be the ideal.
:browse old
would help you a bit too