diff --git a/pythonx/UltiSnips/snippet_manager.py b/pythonx/UltiSnips/snippet_manager.py index 293b70d..2d8b445 100644 --- a/pythonx/UltiSnips/snippet_manager.py +++ b/pythonx/UltiSnips/snippet_manager.py @@ -345,13 +345,13 @@ class SnippetManager(object): if self._inner_state_up: return if self.expand_trigger != self.forward_trigger: - _vim.command('inoremap ' + self.forward_trigger + + _vim.command('inoremap ' + self.forward_trigger + ' =UltiSnips#JumpForwards()') - _vim.command('snoremap ' + self.forward_trigger + + _vim.command('snoremap ' + self.forward_trigger + ' :call UltiSnips#JumpForwards()') - _vim.command('inoremap ' + self.backward_trigger + + _vim.command('inoremap ' + self.backward_trigger + ' =UltiSnips#JumpBackwards()') - _vim.command('snoremap ' + self.backward_trigger + + _vim.command('snoremap ' + self.backward_trigger + ' :call UltiSnips#JumpBackwards()') # Setup the autogroups.