Removed UltiSnipsReset. It is no longer needed

This commit is contained in:
Holger Rapp 2011-04-28 08:27:09 +02:00
parent 8c249b79c8
commit 9e712a9a39
2 changed files with 5 additions and 16 deletions

View File

@ -121,15 +121,10 @@ To Update an installation, simply pull the latest revision: >
3.1 Commands *UltiSnips-commands* 3.1 Commands *UltiSnips-commands*
------------ ------------
*:UltiSnipsReset*
UltiSnips defines two commands, the first one is UltiSnipsReset, which will
reload the snippets definitions and is useful while you are tweaking a
snippet.
*:UltiSnipsEdit* *:UltiSnipsEdit*
The second command is UltiSnipsEdit. It opens or creates your private snippet UltiSnipsEdit opens or creates your private snippet definition file for the
definition file for the current filetype. You can easily open them manually of current filetype. You can easily open them manually of course, this is just a
course, this is just a shortcut. There is also a variable called: > shortcut. There is also a variable called: >
g:UltiSnipsEditSplit g:UltiSnipsEditSplit
which can be set to "normal" (default), "horizontal" or "vertical" that which can be set to "normal" (default), "horizontal" or "vertical" that
defines if a new window should be opened for the edit. There is also a defines if a new window should be opened for the edit. There is also a
@ -348,10 +343,8 @@ Good bye, Sir. Hope to talk to you soon.
endsnippet endsnippet
------------------- SNAP ------------------- ------------------- SNAP -------------------
Now, restart vim or reset UltiSnips by typing > UltiSnips will pick up that you added/changed this file automatically, so just
:UltiSnipsReset try it in insert mode:
now try it in insert mode:
bye<tab> --> bye<tab> -->
Good bye, Sir. Hope to talk to you soon. Good bye, Sir. Hope to talk to you soon.
- Arthur, King of Britain - Arthur, King of Britain

View File

@ -61,10 +61,6 @@ endif
" }}} " }}}
"" Global Commands {{{ "" Global Commands {{{
" reset/reload snippets
command! -nargs=0 UltiSnipsReset :py UltiSnips_Manager.reset()
function! UltiSnipsEdit(...) function! UltiSnipsEdit(...)
if a:0 == 1 && a:1 != '' if a:0 == 1 && a:1 != ''
let type = a:1 let type = a:1