You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2018. It is now read-only.
With let g:UltiSnipsExpandTrigger = "<tab>" I can Shift+v, select lines, press TAB write tryTAB and I got python try except snip working with selected lines inside.
After using NCM documented:
let g:UltiSnipsExpandTrigger = "<Plug>(ultisnips_expand)"
let g:UltiSnipsJumpForwardTrigger = "<c-j>"
let g:UltiSnipsJumpBackwardTrigger = "<c-k>"
let g:UltiSnipsRemoveSelectModeMappings = 0
inoremap <silent> <c-u> <c-r>=cm#sources#ultisnips#trigger_or_popup("\<Plug>(ultisnips_expand)")<cr>
imap <expr> <CR> (pumvisible() ? "\<c-y>\<Plug>(expand_or_nl)" : "\<CR>")
imap <expr> <Plug>(expand_or_nl) (cm#completed_is_snippet() ? "\<C-U>":"\<CR>")
I am unable to do same thing with Ctrl-u. Am I missing something ?
With
let g:UltiSnipsExpandTrigger = "<tab>"I can Shift+v, select lines, press TAB writetryTAB and I got pythontry exceptsnip working with selected lines inside.After using NCM documented:
I am unable to do same thing with Ctrl-u. Am I missing something ?