Update the documentation
This commit is contained in:
parent
65af2b9bca
commit
61ffe8ba5a
@ -102,11 +102,14 @@ can use the following keys:
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
" Plugin key-mappings.
|
" Plugin key-mappings.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
xmap <C-k> <Plug>(neosnippet_expand_target)
|
xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
||||||
" SuperTab like snippets behavior.
|
" SuperTab like snippets behavior.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
"imap <expr><TAB>
|
"imap <expr><TAB>
|
||||||
" \ pumvisible() ? "\<C-n>" :
|
" \ pumvisible() ? "\<C-n>" :
|
||||||
" \ neosnippet#expandable_or_jumpable() ?
|
" \ neosnippet#expandable_or_jumpable() ?
|
||||||
|
@ -384,11 +384,13 @@ neosnippet#get_snippets_directory()
|
|||||||
EXAMPLES *neosnippet-examples*
|
EXAMPLES *neosnippet-examples*
|
||||||
>
|
>
|
||||||
" Plugin key-mappings.
|
" Plugin key-mappings.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
xmap <C-k> <Plug>(neosnippet_expand_target)
|
xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
||||||
" SuperTab like snippets' behavior.
|
" SuperTab like snippets' behavior.
|
||||||
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
"imap <expr><TAB>
|
"imap <expr><TAB>
|
||||||
" \ pumvisible() ? "\<C-n>" :
|
" \ pumvisible() ? "\<C-n>" :
|
||||||
" \ neosnippet#expandable_or_jumpable() ?
|
" \ neosnippet#expandable_or_jumpable() ?
|
||||||
|
Loading…
Reference in New Issue
Block a user