asgeo1 wrote:
> Hi there,
>
> Just started getting into the :Ex command and have some questions. I
> am using gvim 7.2 on Windows.
>
>
> Using "wide" listing style causes me errors:
>
> I find that when I change the listing style to "wide" (i.e. the file
> names are in columns), then using <CR>, o, t, etc it won't open any
> files that are not in column 1. The other columns it tries to open the
> file including the separating space. I.e. it tries to open a file
> called "Logging.php       L" where L is the first character of a file
> in the next column of files. Weird.
>   
Hmm -- the wide listing mode is the one I use, and I'm certainly not 
having the
problems that you mention (nor do I recall having them with earlier 
versions of
netrw).  Nonetheless, please try the latest netrw (v136f) available at 
my website:

  http://mysite.verizon.net/astronaut/vim/index.html#NETRW

If the problem persists, perhaps its due to some option you set/unset, 
probably in
your .vimrc.  In that case, and if you're willing, please send me a copy 
of the options
you use and I'll see if I can reproduce the problem.
>
>
> How to open files in background tabs?
>
> The 't' command to open a file into a new tab-page is cool. But I want
> to open files in *background* tab-pages. I hate it when it takes the
> focus from the explorer tab-page and I have to keep manually
> navigating back there. I can't see anyway to configure :Ex to do this.
>
> In netrw.vim there is this autocmd:
>
>    nnoremap <buffer> <silent> t               :call <SID>NetrwSplit(4)<cr>
>
> This is the command that opens files into new tabs. I can put a new
> command in the plugin like this:
>
>    nnoremap <buffer> <silent> T               :call <SID>NetrwSplit(4)<cr>gT
>
> and then this will open files in background tabs for me.
>
> If this is the only option I have, then how do I set this mapping up
> in my vimrc? I hate modifying plugins directly, because I will lose
> this change when I next update vim (and I will forget I ever did it)
>   
I suppose I could put this into netrw -- it doesn't appear to clash with 
any current
netrw mapping.   Unfortunately you can't really do this as a separate 
add-on, as
the <SID> means that NetrwSplit() is only accessible from inside the 
netrw plugin
itself.

Regards,
Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to