adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
25
plugins/bundle/xptemplate/personal/Readme.txt
Normal file
25
plugins/bundle/xptemplate/personal/Readme.txt
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
This is the folder where you add your personal snippets.
|
||||
|
||||
This fold is one of 'runtimepath'. You can imagine this is another ~/.vim
|
||||
folder( in Unix ) or ~/vimfiles( in windows ).
|
||||
|
||||
==============================================================================
|
||||
|
||||
To add your own snippets, just create a snippet file like what XPT does. For
|
||||
example to create a C language snippet you need to create: >
|
||||
personal/ftplugin/c/some_name.xpt.vim
|
||||
< And then add snippets in this file.
|
||||
See |xpt-snippet-syntax| |xpt-write-snippet| and |xpt-snippet-tutorial|.
|
||||
|
||||
NOTE: personal snippets in this file should have high priority which is set
|
||||
with |xpt-snippet-priority|, for example the "personal" priority: >
|
||||
XPTemplate priority=personal
|
||||
< This is the highest priority thus no other snippets overrides yours. See
|
||||
|xpt-snippet-priority|
|
||||
|
||||
|
||||
You can also create snippets in some other folders and specify them as snippet
|
||||
folder with |g:xptemplate_snippet_folders|
|
||||
|
||||
" vim:tw=78:ts=8:sw=8:sts=8:noet:ft=help:norl:spell:
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
" Move me to your own fptlugin/_common and config your personal information.
|
||||
"
|
||||
" Here is the place to set personal preferences; "priority=personal" is the
|
||||
" highest which overrides any other XPTvar setting.
|
||||
"
|
||||
" You can also set personal variables with 'g:xptemplate_vars' in your .vimrc.
|
||||
XPTemplate priority=personal
|
||||
|
||||
|
||||
" XPTvar $author you have not yet set $author variable
|
||||
" XPTvar $email you have not yet set $email variable
|
||||
|
||||
XPT yoursnippet " tips here
|
||||
bla bla
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue