sponsor Vim development Vim logo Vim Book Ad

bufpos : switch buffer with Alt-<number>

 script karma  Rating 40/10, Downloaded by 1933  Comments, bugs, improvements  Vim wiki

created by
Michele Campeotto
 
script type
utility
 
description
This script provides a function to activate a vim buffer by passing it the position in the buffers list and maps it to <M-number> to easily switch between open buffers.

This is best used together with the buftabs plugin: http://www.vim.org/scripts/script.php?script_id=1664
And even better with my slightly modified version: http://blog.micampe.it/articles/2007/03/28/enhanced-buftabs-vim-plugin

Explanation here: http://blog.micampe.it/articles/2007/03/25/tabs-in-vim-and-my-first-plugin
 
install details
Download the script and put it in ~/.vim/plugins
 

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
bufpos.vim 1.0 2007-03-25 6.0 Michele Campeotto Initial upload
ip used for rating: 3.230.128.106

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.
   
Vim at Github