Skip to content

Commit

Permalink
Call snipMate#ShowAvailableSnips() instead of ShowAvailableSnips()
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Rota committed Oct 19, 2011
1 parent 09333a0 commit 7542b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after/plugin/snipMate.vim
Expand Up @@ -22,7 +22,7 @@ exec 'ino <silent> ' . g:snips_trigger_key . ' <c-g>u<c-r>=snipMate#TriggerSnipp
exec 'snor <silent> ' . g:snips_trigger_key . ' <esc>i<right><c-r>=snipMate#TriggerSnippet()<cr>'
exec 'ino <silent> ' . g:snips_trigger_key_backwards . '> <c-r>=snipMate#BackwardsSnippet()<cr>'
exec 'snor <silent> ' . g:snips_trigger_key_backwards . '> <esc>i<right><c-r>=snipMate#BackwardsSnippet()<cr>'
exec 'ino <silent> <c-r>' . g:snips_trigger_key . ' <c-r>=ShowAvailableSnips()<cr>'
exec 'ino <silent> <c-r>' . g:snips_trigger_key . ' <c-r>=snipMate#ShowAvailableSnips()<cr>'

" maybe there is a better way without polluting registers ?
exec 'xnoremap ' . g:snips_trigger_key. ' s<c-o>:let<space>g:snipmate_content_visual=getreg('1')<cr>'
Expand Down

0 comments on commit 7542b05

Please sign in to comment.