PageRenderTime 30ms CodeModel.GetById 14ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/extras/gvim-menu.vim

http://txt2tags.googlecode.com/
Vim Script | 86 lines | 74 code | 12 blank | 0 comment | 2 complexity | d716d9ee2f7e6b191bcbc3200777c463 MD5 | raw file
 1"
 2"      Filename:    t2t.vim
 3"   Description:    vim script to support txt2tag
 4"        Author:    Otávio Corr?a Cordeiro
 5"         Email:    cordeiro@exatas.unisinos.br
 6"          Date:    06 - October, 2004
 7"       Version:    0.2
 8"
 9"------------------------------------------------------------------------------------------
10"    Copyright:  Copyright (C) 2004 Otávio Corr?a Cordeiro
11"
12"                This program is free software; you can redistribute it and/or modify
13"                it under the terms of the GNU General Public License as published by
14"                the Free Software Foundation; either version 2 of the License, or
15"                (at your option) any later version.
16"
17"                This program is distributed in the hope that it will be useful,
18"                but WITHOUT ANY WARRANTY; without even the implied warranty of
19"                MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20"                GNU General Public License for more details.
21"
22"                You should have received a copy of the GNU General Public License
23"                along with this program; if not, write to the Free Software
24"                Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25"------------------------------------------------------------------------------------------
26
27amenu &txt2tags.Header                                 <Esc><Esc>aTitle<CR>Author<CR>%%date(%m/%d/%Y)<CR>
28
29"amenu &txt2tags.Settings.Target
30"amenu &txt2tags.Settings.Options(target)
31"amenu &txt2tags.Settings.Include
32"amenu &txt2tags.Settings.Style
33amenu &txt2tags.Settings.Encoding\ (iso-8859-1)        <Esc><Esc>a%!encoding: iso-8859-1<CR>
34imenu &txt2tags.Settings.Encoding\ (iso-8859-1)        <Esc><Esc>a%!encoding: iso-8859-1<CR>
35"amenu &txt2tags.Settings.IncludeConf
36"amenu &txt2tags.Settings.GuiColors
37"amenu &txt2tags.Settings.ProProc
38
39amenu &txt2tags.-SEP1-                                 :
40
41amenu &txt2tags.Section                                <Esc><Esc>a=  =<Esc><Left>i
42imenu &txt2tags.Section                                <Esc><Esc>a=  =<Esc><Left>i
43vmenu &txt2tags.Section                                di=  =<Esc><Left>Pla
44amenu &txt2tags.SubSection                             <Esc><Esc>a==  ==<Esc><Left><Left>i
45imenu &txt2tags.SubSection                             <Esc><Esc>a==  ==<Esc><Left><Left>i
46vmenu &txt2tags.SubSection                             di==  ==<Esc><Left><Left>Pla
47
48amenu &txt2tags.-SEP2-                                 :
49
50amenu &txt2tags.Beautifiers.Bold                       <Esc><Esc>a****<Esc><Left>i
51vmenu &txt2tags.Beautifiers.Bold                       di****<Esc><Left>Pla
52amenu &txt2tags.Beautifiers.Italic                     <Esc><Esc>a////<Esc><Left>i
53vmenu &txt2tags.Beautifiers.Italic                     di////<Esc><Left>Pla
54amenu &txt2tags.Beautifiers.Underline                  <Esc><Esc>a____<Esc><Left>i
55vmenu &txt2tags.Beautifiers.Underline                  di____<Esc><Left>Pla
56amenu &txt2tags.Beautifiers.Verbatim                   <Esc><Esc>a````<Esc><Left>i
57vmenu &txt2tags.Beautifiers.Verbatim                   di````<Esc><Left>Pla
58
59amenu &txt2tags.-SEP3-                                 :
60
61amenu &txt2tags.Text\ Blocks.Quote                     <Esc><Esc>a<Tab>
62imenu &txt2tags.Text\ Blocks.Quote                     <Esc><Esc>a<Tab>
63amenu &txt2tags.Text\ Blocks.Verbatim                  <Esc><Esc>a```<Cr><Cr>```<Up>
64imenu &txt2tags.Text\ Blocks.Verbatim                  <Esc><Esc>a```<Cr><Cr>```<Up>
65vmenu &txt2tags.Text\ Blocks.Verbatim                  Di```<Cr>```<Cr><Esc>2kp
66amenu &txt2tags.Text\ Blocks.List                      <Esc><Esc>i- 
67imenu &txt2tags.Text\ Blocks.List                      <Esc><Esc>i- 
68vmenu &txt2tags.Text\ Blocks.List                      :s/^/- /<Cr>
69amenu &txt2tags.Text\ Blocks.Numbered\ List            <Esc><Esc>i+ 
70imenu &txt2tags.Text\ Blocks.Numbered\ List            <Esc><Esc>i+ 
71vmenu &txt2tags.Text\ Blocks.Numbered\ List            :s/^/\+ /<Cr>
72amenu &txt2tags.Text\ Blocks.Definition\ List          <Esc><Esc>i: 
73imenu &txt2tags.Text\ Blocks.Definition\ List          <Esc><Esc>i: 
74vmenu &txt2tags.Text\ Blocks.Definition\ List          :s/^/: /<Cr>
75
76amenu &txt2tags.-SEP4-                                 :
77
78amenu &txt2tags.Separators.Thin                         <Esc><Esc>a--------------------------------------------------------<Cr>
79imenu &txt2tags.Separators.Thin                         <Esc><Esc>a--------------------------------------------------------<Cr>
80amenu &txt2tags.Separators.Large                        <Esc><Esc>a========================================================<Cr>
81imenu &txt2tags.Separators.Large                        <Esc><Esc>a========================================================<Cr>
82
83amenu &txt2tags.-SEP5-                                 :
84
85amenu &txt2tags.Comments                               <Esc><Esc>a% 
86imenu &txt2tags.Comments                               <Esc><Esc>a%