-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Problems summary
UltiSnips's ForwardTrigger and BackwardTrigger not working
Environment Information
- OS: OSX 10.11.6
- Vim version: 8.0.52 (MacVim)
Provide a minimal .vimrc with less than 50 lines (Required!)
set nocompatible
filetype off
execute 'source ~/.vim/bundle/vim-plug/plug.vim'
call plug#begin('~/.vim/bundle/')
Plug 'junegunn/vim-plug'
" Put your bundle below here
Plug 'lifepillar/vim-mucomplete'
Plug 'shawncplus/phpcomplete.vim'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
" Put your bundle above here
call plug#end()
syntax on
filetype plugin indent on
" Put your plugin settings below here
let g:mucomplete#enable_auto_at_startup = 1
" You can try to uncomment the following two lines to disable omni complete, everything just works.
" let g:mucomplete#chains = {}
" let g:mucomplete#chains.default = ['file', 'keyn', 'dict', 'ulti']
let g:UltiSnipsExpandTrigger="<C-J>"
let g:UltiSnipsJumpForwardTrigger="<C-J>"
let g:UltiSnipsJumpBackwardTrigger="<C-K>"
" Put your plugin settings above here
The reproduce ways from Vim starting (Required!)
:e test.php
orset ft=php
- type
foreach
the popup menu will show up, choose it and hit<C-J>
to expand it, then you can't not use<C-J>
to jump next position
Screen shot (if possible)
Metadata
Metadata
Assignees
Labels
No labels