Mercurial > vim
comparison runtime/doc/version7.txt @ 725:0a9371c70540 v7.0220
updated for version 7.0220
author | vimboss |
---|---|
date | Fri, 10 Mar 2006 21:46:58 +0000 |
parents | e180933b876a |
children | 5220ea46cb9a |
comparison
equal
deleted
inserted
replaced
724:a35dce0cabc5 | 725:0a9371c70540 |
---|---|
1 *version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 09 | 1 *version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 10 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
30 Scroll back in messages |new-scroll-back| | 30 Scroll back in messages |new-scroll-back| |
31 POSIX compatibility |new-posix| | 31 POSIX compatibility |new-posix| |
32 Debugger support |new-debug-support| | 32 Debugger support |new-debug-support| |
33 Remote file explorer |new-netrw-explore| | 33 Remote file explorer |new-netrw-explore| |
34 Define an operator |new-define-operator| | 34 Define an operator |new-define-operator| |
35 Mapping to an expression |new-map-expression| | |
35 Location list |new-location-list| | 36 Location list |new-location-list| |
36 Various new items |new-items-7| | 37 Various new items |new-items-7| |
37 | 38 |
38 IMPROVEMENTS |improvements-7| | 39 IMPROVEMENTS |improvements-7| |
39 | 40 |
396 |g@| operator. This makes it possible to define a mapping that works like an | 397 |g@| operator. This makes it possible to define a mapping that works like an |
397 operator. The actual work is then done by a function, which is invoked | 398 operator. The actual work is then done by a function, which is invoked |
398 through the |g@| operator. | 399 through the |g@| operator. |
399 | 400 |
400 See |:map-operator| for the explanation and an example. | 401 See |:map-operator| for the explanation and an example. |
402 | |
403 | |
404 Mapping to an expression *new-map-expression* | |
405 ------------------------ | |
406 | |
407 The {rhs} argument of a mapping can be an expression. That means the | |
408 resulting characters can depend on the context. Example: > | |
409 :inoremap <expr> . InsertDot() | |
410 Here the dot will be mapped to whatever InsertDot() returns. | |
411 | |
412 Also works for abbreviations. See |:map-<expr>| for the details. | |
401 | 413 |
402 | 414 |
403 Location list *new-location-list* | 415 Location list *new-location-list* |
404 ------------- | 416 ------------- |
405 | 417 |
645 |QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh) | 657 |QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh) |
646 |SessionLoadPost| after loading a session file. (Yegappan Lakshmanan) | 658 |SessionLoadPost| after loading a session file. (Yegappan Lakshmanan) |
647 | 659 |
648 |SpellFileMissing| when a spell file can't be found | 660 |SpellFileMissing| when a spell file can't be found |
649 | 661 |
662 |ShellCmdPost| after executing a shell command | |
663 |ShellFilterPost| after filtering with a shell command | |
664 | |
650 |SourcePre| before sourcing a Vim script | 665 |SourcePre| before sourcing a Vim script |
651 | 666 |
652 |CursorHoldI| the user doesn't press a key for a while in Insert mode | 667 |CursorHoldI| the user doesn't press a key for a while in Insert mode |
653 |CursorMoved| the cursor was moved in Normal mode | 668 |CursorMoved| the cursor was moved in Normal mode |
654 |CursorMovedI| the cursor was moved in Insert mode | 669 |CursorMovedI| the cursor was moved in Insert mode |