comparison runtime/doc/editing.txt @ 856:8cd729851562 v7.0g

updated for version 7.0g
author vimboss
date Sun, 30 Apr 2006 18:54:39 +0000
parents d58e3db4a7d1
children 4bac29d27e2f
comparison
equal deleted inserted replaced
855:d2a4f08396fe 856:8cd729851562
1 *editing.txt* For Vim version 7.0f. Last change: 2006 Apr 29 1 *editing.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
431 Where {optname} is one of: *++ff* *++enc* *++bin* *++nobin* *++edit* 431 Where {optname} is one of: *++ff* *++enc* *++bin* *++nobin* *++edit*
432 ff or fileformat overrides 'fileformat' 432 ff or fileformat overrides 'fileformat'
433 enc or encoding overrides 'fileencoding' 433 enc or encoding overrides 'fileencoding'
434 bin or binary sets 'binary' 434 bin or binary sets 'binary'
435 nobin or nobinary resets 'binary' 435 nobin or nobinary resets 'binary'
436 bad specifies behavior for bad characters 436 bad specifies behavior for bad characters
437 edit for |:read| only: keep option values as if editing 437 edit for |:read| only: keep option values as if editing
438 a file 438 a file
439 439
440 {value} cannot contain white space. It can be any valid value for these 440 {value} cannot contain white space. It can be any valid value for these
441 options. Examples: > 441 options. Examples: >
442 :e ++ff=unix 442 :e ++ff=unix
443 This edits the same file again with 'fileformat' set to "unix". > 443 This edits the same file again with 'fileformat' set to "unix". >
451 *++bad* 451 *++bad*
452 The argument of "++bad=" specifies what happens with characters that can't be 452 The argument of "++bad=" specifies what happens with characters that can't be
453 converted and illegal bytes. It can be one of three things: 453 converted and illegal bytes. It can be one of three things:
454 ++bad=X A single-byte character that replaces each bad character. 454 ++bad=X A single-byte character that replaces each bad character.
455 ++bad=keep Keep bad characters without conversion. Note that this may 455 ++bad=keep Keep bad characters without conversion. Note that this may
456 result in illegal bytes in your text! 456 result in illegal bytes in your text!
457 ++bad=drop Remove the bad characters. 457 ++bad=drop Remove the bad characters.
458 458
459 The default is like "++bad=?": Replace each bad character with a question 459 The default is like "++bad=?": Replace each bad character with a question
460 mark. 460 mark.
461 461