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

Re: Remove a buffer definitely ?

Expand Messages
  • Tim Chase
    ... You may also be interested in the :argdelete command. ... which will remove items from the argument list that the commands you were using do what you
    Message 1 of 3 , Nov 3, 2007
    • 0 Attachment
      >> For ex I start Vim this way:
      >>
      >> vim one.txt two.txt three.txt
      >>
      >> Now let's say I don't need anymore one.txt. So I type:
      >>
      >> :bwipe one.txt
      >>
      >> the file dissapears from the current window and don't stand anymore in
      >> the buffers list.
      >> BUT, if I type :previous or :first, the one.txt file appears again
      >> both in the window and in the buffers list. Why ?
      >> I don't need this file anymore and I don't want it to appears again.
      >> What did I do wrong and how to remove this buffer definitely ?
      >
      > Both commands operate on the argument list,
      > but it has not changed.
      > Use the buffer commands instead (:bn,:bp,...).

      You may also be interested in the ":argdelete" command.

      :help :argdelete

      which will remove items from the argument list that the commands
      you were using do what you expect them to.

      -tim




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