comparison runtime/doc/motion.txt @ 586:86379a738de4

updated for version 7.0166
author vimboss
date Sat, 10 Dec 2005 20:19:46 +0000
parents 93a822c9e3d2
children d220eb88e4e4
comparison
equal deleted inserted replaced
585:c10855f07ab0 586:86379a738de4
1 *motion.txt* For Vim version 7.0aa. Last change: 2005 Sep 14 1 *motion.txt* For Vim version 7.0aa. Last change: 2005 Dec 09
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
971 Useful when making a change or inserting text 971 Useful when making a change or inserting text
972 automatically and the user doesn't want to go to this 972 automatically and the user doesn't want to go to this
973 position. E.g., when updating a "Last change" 973 position. E.g., when updating a "Last change"
974 timestamp in the first line: > 974 timestamp in the first line: >
975 975
976 :let lnum = getline(".") 976 :let lnum = line(".")
977 :keepjumps normal gg 977 :keepjumps normal gg
978 :call SetLastChange() 978 :call SetLastChange()
979 :keepjumps exe "normal " . lnum . "G" 979 :keepjumps exe "normal " . lnum . "G"
980 < 980 <
981 Note that ":keepjumps" must be used for every command. 981 Note that ":keepjumps" must be used for every command.