" marksbrowser.vim " Author: Viktor Kojouharov " Version: 0.9 " License: BSD " " Description: " This script provides a graphical browsers of the user marks for the local " file [a-z] " " Help: " To open the browser, use the :MarksBrowser command " The select the a mark to jump to, use or <2-LeftMouse> " To delete a mark, press d " " To have the browser window not close itself after you jump to a mark, set the " marksCloseWhenSelected in your ~/.vimrc file " Example: let marksCloseWhenSelected = 0 " " Installation: " Put this file into your $HOME/.vim/plugin directory. if exists("loaded_marksbrowser") " finish endif let loaded_marksbrowser = 1 if !exists("marksCloseWhenSelected") let s:marksCloseWhenSelected = 1 else let s:marksCloseWhenSelected = marksCloseWhenSelected endif let s:win_title = '[Marks]' let s:all_marks = "abcdefghijklmnopqrstuvwxyz.'`^<>\"" "let s:all_marks = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.'`^<>\"" let s:isShown = 0 let s:originalBuff = 1 let s:bufNo = -1 let s:pos = [] com! -nargs=0 MarksBrowser :call ToggleMarksBrowser() noremap :MarksBrowser noremap