comparison runtime/doc/map.txt @ 843:9f279ebda751 v7.0f01

updated for version 7.0f01
author vimboss
date Tue, 25 Apr 2006 22:13:59 +0000
parents a209672376fd
children 8cd729851562
comparison
equal deleted inserted replaced
842:a209672376fd 843:9f279ebda751
1 *map.txt* For Vim version 7.0f. Last change: 2006 Apr 20 1 *map.txt* For Vim version 7.0f. Last change: 2006 Apr 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
217 The result of the InsertDot() function will be inserted. It could check the 217 The result of the InsertDot() function will be inserted. It could check the
218 text before the cursor and start omni completion when some condition is met. 218 text before the cursor and start omni completion when some condition is met.
219 219
220 Be very careful about side effects! The expression is evaluated while 220 Be very careful about side effects! The expression is evaluated while
221 obtaining characters, if you change buffer text, move the cursor, edit another 221 obtaining characters, if you change buffer text, move the cursor, edit another
222 file, etc. you may very well make command disfunctional. 222 file, etc. you may very well make command dysfunctional.
223 223
224 Here is an example that inserts a list number that increases: > 224 Here is an example that inserts a list number that increases: >
225 let counter = 0 225 let counter = 0
226 inoremap <expr> <C-L> ListItem() 226 inoremap <expr> <C-L> ListItem()
227 inoremap <expr> <C-R> ListReset() 227 inoremap <expr> <C-R> ListReset()