yegappan / mru

Most Recently Used (MRU) Vim Plugin
Other
259 stars 48 forks source link

Support opening files in buffers #40

Open exAspArk opened 3 years ago

exAspArk commented 3 years ago

Hey 👋

Not sure if anyone else needs it, but I wanted to be able to open files in a new buffer instead of windows or tabs. For example, by setting let MRU_Open_File_Use_Buffers = 1 or pressing b https://github.com/exAspArk/dotfiles/commit/c9859b9c15ae547eea5e7fba28844de0abafcdd8.

Feel free to reject if you don't want to have this feature merged ✌️

yegappan commented 2 years ago

In Vim, you can have only one buffer associated with a given file. When you open a file from the MRU list, it is always opened in a new buffer (independent of whether it is opened in a new window or a tab page or an existing window). Are you referring to opening the file in the same window from which the MRU command was invoked (even if the file is open in some other window)?