Loading ...
Sorry, an error occurred while loading the content.
 

How to open all buffers in vim

Expand Messages
  • Aman Jain
    Hi All Say I have 10 buffers open in vim. But currently only one of them is being edited. What should I do so that I can have a look at all the 10 buffers, in
    Message 1 of 6 , Oct 13, 2008
      Hi All

      Say I have 10 buffers open in vim.
      But currently only one of them is being edited.
      What should I do so that I can have a look at all the 10 buffers, in
      split windows?
      I tried <CTRL>w=, but it did not work.

      Thanks
      Aman Jain
      India
      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Navdeep Parhar
      Does :ball help? ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the vim_use maillist. For more information, visit
      Message 2 of 6 , Oct 13, 2008
        Does ":ball" help?

        On Mon, Oct 13, 2008 at 8:29 PM, Aman Jain <amanjain.nitrkl@...> wrote:
        >
        > Hi All
        >
        > Say I have 10 buffers open in vim.
        > But currently only one of them is being edited.
        > What should I do so that I can have a look at all the 10 buffers, in
        > split windows?
        > I tried <CTRL>w=, but it did not work.
        >
        > Thanks
        > Aman Jain
        > India
        > >
        >

        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_use" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      • Aman Jain
        Yes, it works :) ... Thanks a Lot ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the vim_use maillist. For more
        Message 3 of 6 , Oct 13, 2008
          Yes, it works :)
          :ball opens all the buffers in horizontal fashion
          :vertical ball opens all the buffers vetically

          Thanks a Lot
          :wq

          On Oct 14, 8:38 am, "Navdeep Parhar" <npar...@...> wrote:
          > Does ":ball" help?
          >
          > On Mon, Oct 13, 2008 at 8:29 PM, Aman Jain <amanjain.nit...@...> wrote:
          >
          > > Hi All
          >
          > > Say I have 10 buffers open in vim.
          > > But currently only one of them is being edited.
          > > What should I do so that I can have a look at all the 10 buffers, in
          > > split windows?
          > > I tried <CTRL>w=, but it did not work.
          >
          > > Thanks
          > > Aman Jain
          > > India
          --~--~---------~--~----~------------~-------~--~----~
          You received this message from the "vim_use" maillist.
          For more information, visit http://www.vim.org/maillist.php
          -~----------~----~----~----~------~----~------~--~---
        • Navdeep Parhar
          ... And :tab ball opens all the buffers in individual tabs - this one is my favourite :-) Navdeep ... --~--~---------~--~----~------------~-------~--~----~
          Message 4 of 6 , Oct 13, 2008
            On Mon, Oct 13, 2008 at 8:42 PM, Aman Jain <amanjain.nitrkl@...> wrote:
            >
            > Yes, it works :)
            > :ball opens all the buffers in horizontal fashion
            > :vertical ball opens all the buffers vetically

            And ":tab ball" opens all the buffers in individual tabs - this one is
            my favourite :-)

            Navdeep

            >
            > Thanks a Lot
            > :wq
            >
            > On Oct 14, 8:38 am, "Navdeep Parhar" <npar...@...> wrote:
            >> Does ":ball" help?
            >>
            >> On Mon, Oct 13, 2008 at 8:29 PM, Aman Jain <amanjain.nit...@...> wrote:
            >>
            >> > Hi All
            >>
            >> > Say I have 10 buffers open in vim.
            >> > But currently only one of them is being edited.
            >> > What should I do so that I can have a look at all the 10 buffers, in
            >> > split windows?
            >> > I tried <CTRL>w=, but it did not work.
            >>
            >> > Thanks
            >> > Aman Jain
            >> > India
            > >
            >

            --~--~---------~--~----~------------~-------~--~----~
            You received this message from the "vim_use" maillist.
            For more information, visit http://www.vim.org/maillist.php
            -~----------~----~----~----~------~----~------~--~---
          • Aman Jain
            Oh great!! This one s cool :) ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the vim_use maillist. For more
            Message 5 of 6 , Oct 13, 2008
              Oh great!!
              This one's cool :)

              On Oct 14, 8:44 am, "Navdeep Parhar" <npar...@...> wrote:
              > On Mon, Oct 13, 2008 at 8:42 PM, Aman Jain <amanjain.nit...@...> wrote:
              >
              > > Yes, it works :)
              > > :ball opens all the buffers in horizontal fashion
              > > :vertical ball opens all the buffers vetically
              >
              > And ":tab ball" opens all the buffers in individual tabs - this one is
              > my favourite :-)
              >
              > Navdeep
              >
              >
              >
              > > Thanks a Lot
              > > :wq
              >
              > > On Oct 14, 8:38 am, "Navdeep Parhar" <npar...@...> wrote:
              > >> Does ":ball" help?
              >
              > >> On Mon, Oct 13, 2008 at 8:29 PM, Aman Jain <amanjain.nit...@...> wrote:
              >
              > >> > Hi All
              >
              > >> > Say I have 10 buffers open in vim.
              > >> > But currently only one of them is being edited.
              > >> > What should I do so that I can have a look at all the 10 buffers, in
              > >> > split windows?
              > >> > I tried <CTRL>w=, but it did not work.
              >
              > >> > Thanks
              > >> > Aman Jain
              > >> > India
              --~--~---------~--~----~------------~-------~--~----~
              You received this message from the "vim_use" maillist.
              For more information, visit http://www.vim.org/maillist.php
              -~----------~----~----~----~------~----~------~--~---
            • Erik Falor
              ... I would do something like :only | bufdo sb % This has the disadvantage that one of the buffers will appear twice, as the first thing :bufdo does is
              Message 6 of 6 , Oct 13, 2008
                On Mon, Oct 13, 2008 at 08:29:49PM -0700, Aman Jain wrote:
                >
                > Hi All
                >
                > Say I have 10 buffers open in vim.
                > But currently only one of them is being edited.
                > What should I do so that I can have a look at all the 10 buffers, in
                > split windows?
                > I tried <CTRL>w=, but it did not work.
                >
                > Thanks
                > Aman Jain
                > India
                > >

                I would do something like :only | bufdo sb %

                This has the disadvantage that one of the buffers will appear twice,
                as the first thing :bufdo does is :bfirst. So this will load the
                first buffer, split it into two windows, and move to the next.

                --
                Erik Falor
                Registered Linux User #445632 http://counter.li.org

                --~--~---------~--~----~------------~-------~--~----~
                You received this message from the "vim_use" maillist.
                For more information, visit http://www.vim.org/maillist.php
                -~----------~----~----~----~------~----~------~--~---
              Your message has been successfully submitted and would be delivered to recipients shortly.