Phunky wrote:Ok so i've added the below to my keymap
But how can I go about making it so index is increased on each press as it currently only works with literally the last closed file, but it soooo close to being awesome!
This made no sense when I first read it, but now I understand (in my excitement I didn't test all of the use cases). The problem is that you don't want it to increment the index every time, just when the file is already open. I guess this would have to be done with a plugin that has access to the recently used file list as well as a list of the currently opened files. Upon invocation, the plugin would loop through the recently used files until it found the first one that is no longer open (and then it would open that file).
@jps: are there any api methods that could give us this information?