UserMenu.vim : (gvim) Menu for inserting longer pieces of text
script karma |
Rating 8/4,
Downloaded by 2648 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Mikolaj Machowski |
|
script type |
utility |
|
description |
" For gvim.
" Registers are good for executing vim commands but not perfect for inserting
" longer parts of normal text. This menu for gvim help you easy creating,
" saving end editing eg. headers for various .tex and .html files. |
|
install details |
" Installation:
" NOTE: libList.vim is necessary. It is great library for handling lists.
" http://vim.sourceforge.net/scripts/script.php?script_id=166
"
" 1. Simplest way is to put this file into your plugin directory or source it
" from vimrc (or gvimrc) file.
" 2. Also you need create special directories where
" your texts will be stored. In default configuration it is:
" $HOME/.vim/usermenu/ (for unices).
" 3. Configuration:
" Path to libList.vim . It isn't necessary when libList.vim is in your plugin
" directory.
source $HOME/.vim/scripts/libList.vim
" Path to usermenu (for unices)
let s:path = "$HOME/.vim/usermenu/"
" Name of the folder with `macros'
let s:localpath = "usermenu"
" Action. Default is read, but maybe you want to change that (eg. source).
let s:action = "read" |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|