On Dec 17, 10:04 am, kba <[email protected]> wrote:
> hi vimmers,
>
> I love vim's window handling and I use it frequently. One thing that
> really annoys me though is that vim's history is only based on the
> command, not on the filename. Consider the following example:
>
> :20vsp file1.pl
>     [quit vim, restart]
> :e  file2.pl
>
> Now there is only file2.pl full-screen. I want to edit file1.pl. I
> remember: In my last vim session I opened it, but how? I try
>
> :e <Up>...
>     [nothing]
> :sp <Up>...
>     [nothing]
> :vsp <Up>...
>     [nothing]
> :tabe <Up>...
>     [nothing]
>
> So I have to do ":history" and find it by hand. Is there to complete
> filenames for the various open commands in history based on the
> *file name* rather than the *command*? It appears more logically
> consistent to me that I should have to remember the file rather
> than the command (and possibly count) I used to open it.
>
> Thanks for any hints/tips/plugins and cordial shalom
> kba

Try using the command-window, which you can search through with / as
in any other window.

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

Reply via email to