sponsor Vim development Vim logo Vim Book Ad

bufsurf : Plugin for navigating buffers webbrowser style.

 script karma  Rating 16/4, Downloaded by 267    Comments, bugs, improvements  Vim wiki

created by
Ton van den Heuvel
 
script type
utility
 
description
When editing multiple files oftentimes it would be nice to be able to go back
and forth between the last edited files, just like a web browser allows the
user to navigate web pages forward and backward in history. The standard
:bn(ext) and :bp(revious) Vim commands allow to switch between next and
previous buffers respectively, but they do no take the history of the last
used files into account. Instead, they use the order in which the files were
opened, which can cause confusion in case the user expects to navigate forward
and backwards in history.  For example, in case the user opened the files A,
B, and C in the order:

A, B, C

and the navigation history would be

A, B, C, B

then :bp(revious) in the last buffer (B) would open up buffer A, where C is
preferable. This buffer supplies the user with the commands :BufSurfForward
and :BufSurfBack to navigate buffers forwards and backwards according to the
navigation history.

The latest version of this plugin is available at:

  http://github.com/ton/vim-bufsurf

Bugs can be reported there as well.
 
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
bufsurf.tar.gz 0.2 2011-03-19 7.3 Ton van den Heuvel - Rewritten in vimscript (drop Ruby dependency).
- Allow ignoring specific buffer names from showing up in the navigation history.
bufsurf.tar.gz 0.1 2010-09-17 7.2 Ton van den Heuvel Initial upload
ip used for rating: 54.237.77.181

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