sponsor Vim development Vim logo Vim Book Ad

bufmap.vim : automatically maps buffers to function keys

 script karma  Rating 15/5, Downloaded by 716  Comments, bugs, improvements  Vim wiki

created by
Serge van den Boom
 
script type
utility
 
description
A script that automatically maps buffers to function keys.

Keys:
F<n>
        Switch to window 1 through 12.
SHIFT-F<n>
        Switch to window 13 through 24.
ALT-1 through ALT-0
        Switch to window 1 through 10.
CTRL-W, F<n>
        Swap the buffer in the current window with the one
        in window n, and activate window n.
CTRL-W, SHIFT-F<n>
        Swap the buffer in the current window with the one
        in buffer n+12, and activate window n+12.
CTRL-W, ALT-<n>
        Swap the buffer in the current window with the one
        in window n, and activate window n.
CTRL-W, c
        Close the current buffer. This does ":bdelete",
        so it will not work when there are unsaved changes.
        Use ":bd!" in this case if you want to discard them.
CTRL-W, .
        Move buffers along to lower numbered windows
        (useful after closing a buffer)
CTRL-W, /
        List all Windows.
 
install details
Put in your plugin dir.
 

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
bufmap.vim 1.1 2005-12-06 6.0 Serge van den Boom Initial upload
ip used for rating: 44.197.251.102

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