sponsor Vim development Vim logo Vim Book Ad

LastBuf.vim : open last closed buffers.

 script karma  Rating 4/1, Downloaded by 166    Comments, bugs, improvements  Vim wiki

created by
Rykka f
 
script type
utility
 
description

lastbuf.vim is a plugin to open last closed buffers.

You can reopen your last closed buffer by :LastBuf or `<c-w><c-z>`.

buffers closed with :hid will always be opened.

buffers closed with :e # :q :only :close :bun :bd will be reopened by default.

buffers closed with :bw (!!CAUTION) will never be reopened.


you can get the newest version at https://github.com/Rykka/lastbuf.vim


    ":LastBuf mapping is <c-w><c-z> by default.
    " You can remapping it by
    map <c-s-t> :LastBuf<CR>

    " g:lastbuf_num option decides the max reopen buf number.
    let g:lastbuf_num=20

    " g:lastbuf_seekall option decides whether lastbuf will reopen
    " the unloaded buffer or not.
    " if you don't want open the unloaded bufs.
    " set it to 0 and set 'nohidden'
    let g:lastbuf_seekall=1

 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
lastbuf.vim.tar.gz 0.1 2011-12-01 7.0 Rykka f Initial upload
ip used for rating: 50.16.177.62

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo