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.



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)


Thanks,
-adam






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

Reply via email to