Skip to content

Commit

Permalink
docs etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Link committed Apr 15, 2010
1 parent 5ee2aef commit e657d8e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 7 deletions.
3 changes: 1 addition & 2 deletions autoload/vimform/forms/substitute.vim
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,9 @@
" substitute.vim " substitute.vim
" @Author: Thomas Link (mailto:micathom AT gmail com?subject=[vim]) " @Author: Thomas Link (mailto:micathom AT gmail com?subject=[vim])
" @Website: http://www.lithom.net
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) " @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2010-04-13. " @Created: 2010-04-13.
" @Last Change: 2010-04-14. " @Last Change: 2010-04-14.
" @Revision: 0.0.28 " @Revision: 0.0.29




let s:substitute_form = vimform#SimpleForm() let s:substitute_form = vimform#SimpleForm()
Expand Down
44 changes: 42 additions & 2 deletions doc/vimform.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -98,16 +98,32 @@ Also available via git: http://github.com/tomtom/vimform_vim/
======================================================================== ========================================================================
Contents~ Contents~


:Vimform ....................... |:Vimform|
vimform#New .................... |vimform#New()| vimform#New .................... |vimform#New()|
vimform#SimpleForm ............. |vimform#SimpleForm()| vimform#SimpleForm ............. |vimform#SimpleForm()|
:VimformReset .................. |:VimformReset| :VimformReset .................. |:VimformReset|
g:vimform#forms ................ |g:vimform#forms|
g:vimform#view ................. |g:vimform#view|
g:vimform#prototype ............ |g:vimform#prototype| g:vimform#prototype ............ |g:vimform#prototype|
g:vimform#widgets .............. |g:vimform#widgets|
vimform#AppendOrInsert ......... |vimform#AppendOrInsert()|
vimform#Insertmode ............. |vimform#Insertmode()|
vimform#Feedkeys ............... |vimform#Feedkeys()|
vimform#PumKey ................. |vimform#PumKey()| vimform#PumKey ................. |vimform#PumKey()|
vimform#SpecialInsertKey ....... |vimform#SpecialInsertKey()| vimform#SpecialInsertKey ....... |vimform#SpecialInsertKey()|
vimform#Balloon ................ |vimform#Balloon()| vimform#Balloon ................ |vimform#Balloon()|
vimform#Complete1 .............. |vimform#Complete1()| vimform#Complete1 .............. |vimform#Complete1()|
vimform#Complete ............... |vimform#Complete()| vimform#Complete ............... |vimform#Complete()|
vimform#CompleteSingleChoice ... |vimform#CompleteSingleChoice()| vimform#CompleteSingleChoice ... |vimform#CompleteSingleChoice()|
vimform#CommandComplete ........ |vimform#CommandComplete()|
vimform#Command ................ |vimform#Command()|


========================================================================
plugin/vimform.vim~

*:Vimform*
:Vimform




======================================================================== ========================================================================
Expand All @@ -127,10 +143,19 @@ vimform#SimpleForm()
If called with [!], use the original values. Otherwise try to reuse If called with [!], use the original values. Otherwise try to reuse
the current values. the current values.


*g:vimform#forms*
g:vimform#forms (default: {})

*g:vimform#view*
g:vimform#view (default: "split")

*g:vimform#prototype* *g:vimform#prototype*
g:vimform#prototype (default: {...}) g:vimform#prototype (default: {...})
The default form tepmlate. The default form tepmlate.


*g:vimform#widgets*
g:vimform#widgets (default: {})





Show the form in a split window. Show the form in a split window.
Expand All @@ -141,11 +166,20 @@ g:vimform#prototype#Show(?cmd = "split")
cmd should create a new buffer. By default, the new buffer will be cmd should create a new buffer. By default, the new buffer will be
shown in a split view. shown in a split view.


*vimform#PumKey()* *vimform#AppendOrInsert()*
vimform#AppendOrInsert()

*vimform#Insertmode()*
vimform#Insertmode()

*vimform#Feedkeys()*
g:vimform#prototype.GetCurrentFieldName(?pos = '.') dict "{{{3 g:vimform#prototype.GetCurrentFieldName(?pos = '.') dict "{{{3


*vimform#PumKey()*
vimform#PumKey(key)

*vimform#SpecialInsertKey()* *vimform#SpecialInsertKey()*
vimform#SpecialInsertKey(key, prepend) vimform#SpecialInsertKey(key, pumkey, prepend)


*vimform#Balloon()* *vimform#Balloon()*
vimform#Balloon() vimform#Balloon()
Expand All @@ -159,6 +193,12 @@ vimform#Complete(findstart, base)
*vimform#CompleteSingleChoice()* *vimform#CompleteSingleChoice()*
vimform#CompleteSingleChoice(findstart, base) vimform#CompleteSingleChoice(findstart, base)


*vimform#CommandComplete()*
vimform#CommandComplete(ArgLead, CmdLine, CursorPos)

*vimform#Command()*
vimform#Command(cmd)





vim:tw=78:fo=tcq2:isk=!-~,^*,^|,^":ts=8:ft=help:norl: vim:tw=78:fo=tcq2:isk=!-~,^*,^|,^":ts=8:ft=help:norl:
6 changes: 3 additions & 3 deletions plugin/vimform.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
" @Website: http://www.vim.org/account/profile.php?user_id=4037 " @Website: http://www.vim.org/account/profile.php?user_id=4037
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) " @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2008-07-16. " @Created: 2008-07-16.
" @Last Change: 2010-04-13. " @Last Change: 2010-04-14.
" @Revision: 7 " @Revision: 8
" GetLatestVimScripts: 3051 0 vimform.vim " GetLatestVimScripts: 3051 0 vimform.vim


if &cp || exists("loaded_vimform") if &cp || exists("loaded_vimform")
finish finish
endif endif
let loaded_vimform = 2 let loaded_vimform = 3


let s:save_cpo = &cpo let s:save_cpo = &cpo
set cpo&vim set cpo&vim
Expand Down

0 comments on commit e657d8e

Please sign in to comment.