Recommand buffer mapping for completion

This commit is contained in:
David Beniamine
2015-06-12 15:24:23 +02:00
parent 3c39283066
commit 7bca6726ea
2 changed files with 5 additions and 4 deletions

View File

@@ -79,10 +79,10 @@ You can also start automatically the completion when entering '+' or '@' by
adding the next lines to your vimrc: adding the next lines to your vimrc:
" Auto complete projects " Auto complete projects
au filetype todo imap + +<C-X><C-O> au filetype todo imap <buffer> + +<C-X><C-O>
" Auto complete contexts " Auto complete contexts
au filetype todo imap @ @<C-X><C-O> au filetype todo imap <buffer> @ @<C-X><C-O>
The TodoComplete function is designed to complete projects (starting by '+') The TodoComplete function is designed to complete projects (starting by '+')
and context (starting by '@'). If you use it on a regular word, it will do a and context (starting by '@'). If you use it on a regular word, it will do a

View File

@@ -67,9 +67,10 @@ You can also start automatically the completion when entering '+' or '@' by
adding the next lines to your vimrc: adding the next lines to your vimrc:
" Auto complete projects " Auto complete projects
au filetype todo imap + +<C-X><C-O> au filetype todo imap <buffer> + +<C-X><C-O>
" Auto complete contexts " Auto complete contexts
au filetype todo imap @ @<C-X><C-O> au filetype todo imap <buffer> @ @<C-X><C-O>
=============================================================================== ===============================================================================
COMPLETION *todo-complete* COMPLETION *todo-complete*