Permalink
Browse files

Update the documentation

1 parent 65af2b9 commit 61ffe8ba5a02e7d125987c927347468bc190d5dd @Shougo committed Jan 8, 2017
Showing with 5 additions and 0 deletions.
  1. +3 −0 README.md
  2. +2 −0 doc/neosnippet.txt
View
@@ -102,11 +102,14 @@ can use the following keys:
```vim
" Plugin key-mappings.
+" Note: It must be "imap" and "smap". It uses <Plug> mappings.
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
" 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>
" \ pumvisible() ? "\<C-n>" :
" \ neosnippet#expandable_or_jumpable() ?
View
@@ -384,11 +384,13 @@ neosnippet#get_snippets_directory()
EXAMPLES *neosnippet-examples*
>
" Plugin key-mappings.
+ " Note: It must be "imap" and "smap". It uses <Plug> mappings.
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
" SuperTab like snippets' behavior.
+ " Note: It must be "imap" and "smap". It uses <Plug> mappings.
"imap <expr><TAB>
" \ pumvisible() ? "\<C-n>" :
" \ neosnippet#expandable_or_jumpable() ?

0 comments on commit 61ffe8b

Please sign in to comment.