Mercurial > vim
comparison runtime/doc/motion.txt @ 856:8cd729851562 v7.0g
updated for version 7.0g
author | vimboss |
---|---|
date | Sun, 30 Apr 2006 18:54:39 +0000 |
parents | d10fbefd3bc1 |
children | 4bac29d27e2f |
comparison
equal
deleted
inserted
replaced
855:d2a4f08396fe | 856:8cd729851562 |
---|---|
1 *motion.txt* For Vim version 7.0f. Last change: 2006 Apr 29 | 1 *motion.txt* For Vim version 7.0g. Last change: 2006 Apr 30 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
778 motion command). For example: > | 778 motion command). For example: > |
779 :marks aB | 779 :marks aB |
780 < to list marks 'a' and 'B'. {not in Vi} | 780 < to list marks 'a' and 'B'. {not in Vi} |
781 | 781 |
782 *:delm* *:delmarks* | 782 *:delm* *:delmarks* |
783 :delm[arks] {marks} Delete the specified marks. Marks that can be deleted | 783 :delm[arks] {marks} Delete the specified marks. Marks that can be deleted |
784 include A-Z and 0-9. You cannot delete the ' mark. | 784 include A-Z and 0-9. You cannot delete the ' mark. |
785 They can be specified by giving the list of mark | 785 They can be specified by giving the list of mark |
786 names, or with a range, separated with a dash. Spaces | 786 names, or with a range, separated with a dash. Spaces |
787 are ignored. Examples: > | 787 are ignored. Examples: > |
788 :delmarks a deletes mark a | 788 :delmarks a deletes mark a |
852 when using blockwise Visual mode. These commands do not work when no change | 852 when using blockwise Visual mode. These commands do not work when no change |
853 was made yet in the current file. | 853 was made yet in the current file. |
854 | 854 |
855 *'<* *`<* | 855 *'<* *`<* |
856 '< `< To the first character of the last selected Visual | 856 '< `< To the first character of the last selected Visual |
857 area in the current buffer. {not in Vi}. | 857 area in the current buffer. For block mode it may |
858 also be the last character in the first line (to be | |
859 able to define the block). {not in Vi}. | |
858 | 860 |
859 *'>* *`>* | 861 *'>* *`>* |
860 '> `> To the last character of the last selected Visual | 862 '> `> To the last character of the last selected Visual |
861 area in the current buffer. {not in Vi}. | 863 area in the current buffer. For block mode it may |
864 also be the first character of the last line (to be | |
865 able to define the block). Note that 'selection' | |
866 applies, the position may be just after the Visual | |
867 area. {not in Vi}. | |
862 | 868 |
863 *''* *``* | 869 *''* *``* |
864 '' `` To the position before the latest jump, or where the | 870 '' `` To the position before the latest jump, or where the |
865 last "m'" or "m`" command was given. Not set when the | 871 last "m'" or "m`" command was given. Not set when the |
866 |:keepjumps| command modifier was used. | 872 |:keepjumps| command modifier was used. |
983 :call SetLastChange() | 989 :call SetLastChange() |
984 :keepjumps exe "normal " . lnum . "G" | 990 :keepjumps exe "normal " . lnum . "G" |
985 < | 991 < |
986 Note that ":keepjumps" must be used for every command. | 992 Note that ":keepjumps" must be used for every command. |
987 When invoking a function the commands in that function | 993 When invoking a function the commands in that function |
988 can still change the jumplist. Also, for | 994 can still change the jumplist. Also, for |
989 ":keepjumps exe 'command '" the "command" won't keep | 995 ":keepjumps exe 'command '" the "command" won't keep |
990 jumps. Instead use: ":exe 'keepjumps command'" | 996 jumps. Instead use: ":exe 'keepjumps command'" |
991 | 997 |
992 ============================================================================== | 998 ============================================================================== |
993 8. Jumps *jump-motions* | 999 8. Jumps *jump-motions* |