From 9e712a9a395d9586c6163a5124794681645b4bf9 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Thu, 28 Apr 2011 08:27:09 +0200 Subject: [PATCH] Removed UltiSnipsReset. It is no longer needed --- doc/UltiSnips.txt | 17 +++++------------ plugin/UltiSnips.vim | 4 ---- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index c86be9f..aefa6ee 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -121,15 +121,10 @@ To Update an installation, simply pull the latest revision: > 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* -The second command is UltiSnipsEdit. It opens or creates your private snippet -definition file for the current filetype. You can easily open them manually of -course, this is just a shortcut. There is also a variable called: > +UltiSnipsEdit opens or creates your private snippet definition file for the +current filetype. You can easily open them manually of course, this is just a +shortcut. There is also a variable called: > g:UltiSnipsEditSplit 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 @@ -348,10 +343,8 @@ Good bye, Sir. Hope to talk to you soon. endsnippet ------------------- SNAP ------------------- -Now, restart vim or reset UltiSnips by typing > - :UltiSnipsReset - -now try it in insert mode: +UltiSnips will pick up that you added/changed this file automatically, so just +try it in insert mode: bye --> Good bye, Sir. Hope to talk to you soon. - Arthur, King of Britain diff --git a/plugin/UltiSnips.vim b/plugin/UltiSnips.vim index 098efbd..e304a6a 100644 --- a/plugin/UltiSnips.vim +++ b/plugin/UltiSnips.vim @@ -61,10 +61,6 @@ endif " }}} "" Global Commands {{{ - -" reset/reload snippets -command! -nargs=0 UltiSnipsReset :py UltiSnips_Manager.reset() - function! UltiSnipsEdit(...) if a:0 == 1 && a:1 != '' let type = a:1