comparison runtime/doc/usr_05.txt @ 10:4e2284e71352

updated for version 7.0002
author vimboss
date Thu, 24 Jun 2004 15:53:16 +0000
parents 3fc0f57ecb91
children cc049b00ee70
comparison
equal deleted inserted replaced
9:4102fb4ea781 10:4e2284e71352
1 *usr_05.txt* For Vim version 7.0aa. Last change: 2004 Mar 12 1 *usr_05.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Set your settings 5 Set your settings
6 6
367 adding. If it's OK, you can give the new one another name: > 367 adding. If it's OK, you can give the new one another name: >
368 368
369 mv thefile ~/.vim/ftplugin/stuff_too.vim 369 mv thefile ~/.vim/ftplugin/stuff_too.vim
370 370
371 The underscore is used to separate the name of the filetype from the rest, 371 The underscore is used to separate the name of the filetype from the rest,
372 which can be anything. If you would use "otherstuff.vim" it wouldn't work, it 372 which can be anything. If you use "otherstuff.vim" it wouldn't work, it would
373 would be loaded for the "otherstuff" filetype. 373 be loaded for the "otherstuff" filetype.
374 374
375 On MS-DOS you cannot use long filenames. You would run into trouble if you 375 On MS-DOS you cannot use long filenames. You would run into trouble if you
376 add a second plugin and the filetype has more than six characters. You can 376 add a second plugin and the filetype has more than six characters. You can
377 use an extra directory to get around this: > 377 use an extra directory to get around this: >
378 378
503 before and after the option name. For example: > 503 before and after the option name. For example: >
504 504
505 :help 'wrap' 505 :help 'wrap'
506 506
507 In case you have messed up an option value, you can set it back to the 507 In case you have messed up an option value, you can set it back to the
508 default by putting a ampersand (&) after the option name. Example: > 508 default by putting an ampersand (&) after the option name. Example: >
509 509
510 :set iskeyword& 510 :set iskeyword&
511 511
512 512
513 NOT WRAPPING LINES 513 NOT WRAPPING LINES
514 514
515 Vim normally wraps long lines, so that you can see all of the text. Sometimes 515 Vim normally wraps long lines, so that you can see all of the text. Sometimes
516 it's better to let the text continue right of the window. Then you need to 516 it's better to let the text continue right of the window. Then you need to
517 scroll the text left-right to see all of a long line. Switch wrapping of with 517 scroll the text left-right to see all of a long line. Switch wrapping off
518 this command: > 518 with this command: >
519 519
520 :set nowrap 520 :set nowrap
521 521
522 Vim will automatically scroll the text when you move to text that is not 522 Vim will automatically scroll the text when you move to text that is not
523 displayed. To see a context of ten characters, do this: > 523 displayed. To see a context of ten characters, do this: >