comparison runtime/doc/motion.txt @ 2152:b9e314fe473f

Updated runtime files.
author Bram Moolenaar <bram@zimbu.org>
date Fri, 14 May 2010 23:24:24 +0200
parents de5a43c5eedc
children 7c8c7c95a865
comparison
equal deleted inserted replaced
2151:ae22c450546c 2152:b9e314fe473f
1 *motion.txt* For Vim version 7.2. Last change: 2009 Sep 15 1 *motion.txt* For Vim version 7.2. Last change: 2010 May 14
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
313 313
314 *G* 314 *G*
315 G Goto line [count], default last line, on the first 315 G Goto line [count], default last line, on the first
316 non-blank character |linewise|. If 'startofline' not 316 non-blank character |linewise|. If 'startofline' not
317 set, keep the same column. 317 set, keep the same column.
318 G is a one of |jump-motions|.
318 319
319 *<C-End>* 320 *<C-End>*
320 <C-End> Goto line [count], default last line, on the last 321 <C-End> Goto line [count], default last line, on the last
321 character |inclusive|. {not in Vi} 322 character |inclusive|. {not in Vi}
322 323
326 set, keep the same column. 327 set, keep the same column.
327 328
328 :[range] Set the cursor on the last line number in [range]. 329 :[range] Set the cursor on the last line number in [range].
329 [range] can also be just one line number, e.g., ":1" 330 [range] can also be just one line number, e.g., ":1"
330 or ":'m". 331 or ":'m".
332 In contrast with |G| this command does not modify the
333 |jumplist|.
331 *N%* 334 *N%*
332 {count}% Go to {count} percentage in the file, on the first 335 {count}% Go to {count} percentage in the file, on the first
333 non-blank in the line |linewise|. To compute the new 336 non-blank in the line |linewise|. To compute the new
334 line number this formula is used: 337 line number this formula is used:
335 ({count} * number-of-lines + 99) / 100 338 ({count} * number-of-lines + 99) / 100