bufman.vim

The porpuse of this plugin is to help the novice Vim user with a win32 background. One of the most frustrating issues with Vim for a new user is to work with multiple files. There is a mswin.vim plugin that somewhat solves this problem, but it’s document switching is window oriented, not buffer oriented, and if you are like me, you probably have several buffers and a single window displayed in your Vim session.
This plugin will try to solve this problem. By default, it will map these keys:

#####################################################################
#      KEY       #  Enabled by  #           Description             #
#####################################################################
# F6             # s:map_next   # Go to the next buffer in the      #
# CTRL-TAB       #              # buffer list. Wraps around the end #
#                #              # of the buffer list.               #
 #####################################################################
# F5             # s:map_prev   # Go to the previous buffer in the  #
# CTRL-SHIFT-TAB #              # buffer list. Wraps around the     #
#                #              # start of the buffer list.         #
#####################################################################
# F7             # s:map_close  # Unload the current buffer and     #
# CTRL-F4        #              # delete it from the buffer list.   #
#                #              # This won't work if the buffer was #
#                #              # changed. Any windows for the      #
#                #              # buffer are closed.                #
#####################################################################
# SHIFT-F1       # s:map_number # Go to the Nth buffer in the       #
# SHIFT-F2       #              # buffer list, where N is a number  #
# ...            #              # between 1 and 12.                 #
# ...            #              # Note that, for example, the 3rd   #
# ...            #              # buffer in the list isn't          #
# ...            #              # necessarily the buffer #3. Read   #
# SHIFT-F12      #              # ':help :buffers' for more info    #
#####################################################################

Each group of keys is enabled by a setting. You can modify these settings in the Configuration section of this file.

Please note that the keys CTRL-TAB, CTRL-SHIFT-TAB and CTRL-F4 will only work in gvim, not in normal Vim.