"============================================================================= " $Id: test-menu-map.vim 520 2012-03-19 18:09:15Z luc.hermitte $ " File: tests/lh/test-menu-map.vim {{{1 " Author: Luc Hermitte " " License: GPLv3 with exceptions " " Version: 3.0.0 " Created: 05th Dec 2006 " Last Update: $Date: 2012-03-19 19:09:15 +0100 (Mon, 19 Mar 2012) $ "------------------------------------------------------------------------ " Description: Tests for lh-vim-lib . lh#menu# " "------------------------------------------------------------------------ " Installation: «install details» " History: «history» " TODO: «missing features» " }}}1 "============================================================================= " let g:want_buffermenu_or_global_disable = 1 " let b:want_buffermenu_or_global_disable = 1 " echo lh#option#get("want_buffermenu_or_global_disable", 1, "bg") " Call a command (':Command') call lh#menu#make("nic", '42.50.340', \ '&LH-Tests.&Menu-Make.Build Ta&gs', "g", \ '', \ ":echo 'TeXtags'") " With '{' expanding to '{}××', or '{}' regarding the mode call lh#menu#IVN_make('42.50.360.200', \ '&LH-Tests.&Menu-Make.&Insert.\toto{}', ']toto', \ '\\toto{', \ '{%i\\toto%l', \ "viw]toto") " Noremap for the visual maps call lh#menu#IVN_make('42.50.360.200', \ '&LH-Tests.&Menu-Make.&Insert.\titi{}', ']titi', \ '\\titi{', \ '`>a}`%l', \ "viw]titi", \ 0, 1, 0) " Noremap for the insert and visual maps call lh#menu#IVN_make('42.50.360.200', \ '&LH-Tests.&Menu-Make.&Insert.', ']tata', \ '?<i', \ '`>a`/<\\/tata>/e1', \ "viw]tata", \ 1, 1, 0) "============================================================================= " vim600: set fdm=marker: