php - How to open a list of buffers in Vim without affecting current window -


In the vim, I would like to load the list of buffers without affecting the current window.

This is currently loading a list of buffers

 : n ** / *. Php   

My current window is loaded in the last file. I am looking for a specific solution where buffers are loaded in the background and my current window is not affected.

I not after:

  1. How to get my last window back:

     : B #    
  2. How to create a Vim function to avoid losing my window.

  3. How to create a session and load it back

     : mksession myproject.vim # vim -S Myproject     

    Thank you for your help!

    Clear the argument list and add files using : argadd :

     : sil! RGD * | Arga ** / *. Php   

    All files here are removed from the logic list before the : argdelete command (since a file name match * In file-pattern). To suppress the deletion command E480 display, press : silent! After the command is run, when the argument list is already empty, any file to be added in the logic list is attached to it using the : argadd command.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

memcached - Django cache performance -