Closed leico closed 6 years ago
imap <expr><CR>
\ (pumvisible() && neosnippet#expandable()) ? "\<Plug>(neosnippet_expand_or_jump)" : "\<CR>"
これが原因だと思います。事故のもとなので <CR>
による自動展開しないほうがよいです。
お返事ありがとうございます。
指摘していただきました <CR>
のキーマップを消去し、Vimを再起動してみましたが症状が発生いたしました・・・。
OK. I will try it later.
お手数をおかけいたします。
:map
の出力も送付いたします。
s <Tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<Tab>"
x <C-K> <Plug>(neosnippet_expand_target)
s <C-K> <Plug>(neosnippet_expand_or_jump)
o % * v:<C-U>call <SNR>22_Match_wrapper('',1,'o') <CR>
v % * :<C-U>call <SNR>22_Match_wrapper('',1,'v') <CR>m'gv``
n % * :<C-U>call <SNR>22_Match_wrapper('',1,'n') <CR>
o [% * v:<C-U>call <SNR>22_MultiMatch("bW", "o") <CR>
v [% <Esc>[%m'gv``
n [% * :<C-U>call <SNR>22_MultiMatch("bW", "n") <CR>
o ]% * v:<C-U>call <SNR>22_MultiMatch("W", "o") <CR>
v ]% <Esc>]%m'gv``
n ]% * :<C-U>call <SNR>22_MultiMatch("W", "n") <CR>
v a% <Esc>[%v]%
v gx <Plug>NetrwBrowseXVis
n gx <Plug>NetrwBrowseX
o g% * v:<C-U>call <SNR>22_Match_wrapper('',0,'o') <CR>
v g% * :<C-U>call <SNR>22_Match_wrapper('',0,'v') <CR>m'gv``
n g% * :<C-U>call <SNR>22_Match_wrapper('',0,'n') <CR>
x <Plug>(neosnippet_register_oneshot_snippet) * :<C-U>call neosnippet#mappings#_register_oneshot_snippet()<CR>
x <Plug>(neosnippet_expand_target) * :<C-U>call neosnippet#mappings#_expand_target()<CR>
x <Plug>(neosnippet_get_selected_text) * :call neosnippet#helpers#get_selected_text(visualmode(), 1)<CR>
s <Plug>(neosnippet_jump) * neosnippet#mappings#jump_impl()
s <Plug>(neosnippet_expand) * neosnippet#mappings#expand_impl()
s <Plug>(neosnippet_jump_or_expand) * neosnippet#mappings#jump_or_expand_impl()
s <Plug>(neosnippet_expand_or_jump) * neosnippet#mappings#expand_or_jump_impl()
v <Plug>NetrwBrowseXVis * :<C-U>call netrw#BrowseXVis()<CR>
n <Plug>NetrwBrowseX * :call netrw#BrowseX(expand((exists("g:netrw_gx")? g:netrw_gx : '<cfile>')),netrw#CheckIfRemote())<CR>
Please disable g#neosnippet#enable_auto_clear_markers.
Thank you! It works!!
and receiving your advice, changed key mapping from CR to Tab.
Little bit strange jumping but no problem I guess.
definitions
toml
situation
place holder を埋めている最中に改行を入れると、後ろの place holder が消失してしまいます。 これを解決する方法はありますでしょうか。