Quantcast

Split Saving

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Split Saving

George Papanikolaou
Is there any way I can save all the splits with one command?

George Papanikolaou
[hidden email]



--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Split Saving

Tim Chase
On 12/01/11 06:20, George Papanikolaou wrote:
> Is there any way I can save all the splits with one command?

You may be looking for either

   :help :mkview
   :h :loadview

or more likely

   :h :mksession
   :h :source
   :h 'sessionoptions'

-tim

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Split Saving

Karthick Gururaj

On Thu, Dec 1, 2011 at 5:59 PM, Tim Chase <[hidden email]> wrote:
On 12/01/11 06:20, George Papanikolaou wrote:
Is there any way I can save all the splits with one command?

You may be looking for either

 :help :mkview
 :h :loadview

or more likely

 :h :mksession
 :h :source
 :h 'sessionoptions'

I understood the question differently.. as to save contents of all split windows.. if that is the case,
:windo w
will work.

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Split Saving

Ben Fritz


On Dec 1, 6:33 am, Karthick Gururaj <[hidden email]>
wrote:

> On Thu, Dec 1, 2011 at 5:59 PM, Tim Chase <[hidden email]> wrote:
> > On 12/01/11 06:20, George Papanikolaou wrote:
>
> >> Is there any way I can save all the splits with one command?
>
> > You may be looking for either
>
> >  :help :mkview
> >  :h :loadview
>
> > or more likely
>
> >  :h :mksession
> >  :h :source
> >  :h 'sessionoptions'
>
> I understood the question differently.. as to save contents of all split
> windows.. if that is the case,
> :windo w
> will work.

Or, unless you have hidden buffers/windows in other tabs which you do
not also want to save,

:wa

is faster to type.

--
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
BC
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Split Saving

BC
On Dec 1, 11:56 am, Ben Fritz <[hidden email]> wrote:

> Or, unless you have hidden buffers/windows in other tabs which you do
> not also want to save,
>
> :wa
>
> is faster to type.

Now I'm laughing at myself because I never knew that :wa was a synonym
for :wall
I'm happy to save those two keystrokes.  Thanks!

--
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
Loading...