On Sat, Apr 14, 2012 at 3:22 PM, Yegappan Lakshmanan <[email protected]>wrote:

> Hi,
>
>
> >>>
> >>> On Friday, April 13, 2012 2:21:55 PM UTC-5, Tarlika Elisabeth Schmitz
> >>> wrote:
> >>>>  On Mon, 2 Apr 2012 07:06:15 -0700 (PDT)
> >>>>  Ben Fritz wrote:
> >>>>  >
> >>>>  >Unfortunately if there is only one match (e.g. if you use tab
> >>>>  >completion of the file name), the file opens directly. I've
> > not yet
> >>>>  >bothered to change the way this works, but it annoys me
> >>>>  >occasionally.
> >>>>
> >>>>  Ben, I have fixed your problem and my problem.
> >>>>
> >> Hi,
> >>
> >> I have updated the MRU plugin and added the following features:
> >>
> >> * Support for opening files always in tabs (MRU_Open_File_Use_Tabs
> >> option)
> >> * Support for opening the MRU window always even for single filename
> >> matches (MRU_Window_Open_Always)
> >> * Support for opening files in vertically split windows.
> >>
> >> To open a file from the MRU list always in a tab, you can now set the
> >> MRU_Open_File_Use_Tabs variable to 1 in your .vimrc file. To open the
> >> MRU window even for single matched filename, you can
> >>
> >> set the MRU_Window_Open_Always variable to 1.
> >>
> >>
> >> I am attaching the updated plugin to this e-mail. Let me know if you
> >> see any problems with it. I will shortly upload this to the Vim online
> >> site.
> >>
> >> - Yegappan
> >>
> >
> > Yegappan,
> > This is great! It will save dozens of tabopen keystrokes a day!
> >
> > The only bit I hate is the way you changed the display of the :MRU
> > window: filename with full in brackets. I find this works ok in
> > File->Recent but in the :MRU window I can't easi;y see what I'm
> > looking for.
> >
>
> Several MRU plugin users reported that it is hard to see the name of the
> file
> when using very long path names. In my day-to-day use, I found that having
>
> the file name at the beginning of the line in the MRU window helps.
>
>
> >
> > For now, I have changed it back:
> >
> > " let  output = map(m, 'fnamemodify(v:val, ":t") . "
> > (" . v:val . ")"')
> > " XXX silent! 0put =output
> > silent! 0put =m " XXX
> >
> > When I modified the plugin, I also created an additional :mru
> > command to avoid the shift or is there a reason for having caps?
> >
>
>
> User defined command names must start with an upper case letter.
> You can try using the ":Mru" command.
>
>
> - Yegappan
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>


Hmm... this is all good fixes for MRU plugin, I like it very much.

One thing I always wanted was ability to "Toggle" the :MRU window on/off ,
so that a single keybind (I use F12 currently to open :MRU list) could be
pressed again to close the MRU window if what I needed wasn't found in the
mru window (this happens fairly often), requiring me to close the mru
window manually with :q .. which is tedious...I like nerdtree's ability to
toggle on/off...anyways sorry if I'm OT but just a thought..

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to