Bảng mô tả ngắn gọn về các tùy chọn thiết lập lệnh quan trọng. Trong cột đầu tiên, các tùy chọn được liệt kê theo thứ tự chữ cái, nếu tùy chọn có thể được viết tắt, viết tắt được hiển thị trong dấu ngoặc đơn. Cột thứ hai cho thấy các thiết lập mặc định rằng vi sử dụng, trừ khi bạn ra lệnh thiết lập rõ ràng (hoặc bằng tay hoặc trong các tập tin exrc.). | Appendix C. Setting Options This appendix describes the important set command options for Solaris vi nvi elvis vim and vile . Solaris vi Options Table contains brief descriptions of the important set command options. In the first column options are listed in alphabetical order if the option can be abbreviated that abbreviation is shown in parentheses. The second column shows the default setting that vi uses unless you issue an explicit set command either manually or in the .exrc file . The last column describes what the option does when enabled. Table . Solaris viSet Options Option Default Description autoindent ai noai In insert mode indents each line to the same level as the line above or below. Use with the shiftwidth option. autoprint ap ap Displays changes after each editor command. For global replacement displays last replacement. autowrite aw noaw Automatically writes saves the file if changed before opening another file with n or before giving UNIX command with . beautify bf nobf Ignores all control characters during input except tab newline or formfeed . directory dir tmp Names directory in which ex vi stores buffer files. Directory must be writable. edcompatible noedcompatible Remember the flags used with the most recent substitute command global confirming and use them for the next substitute command. Despite the name no actual version of ed actually behaved this way. errorbells eb errorbells Sounds bell when an error occurs. exrc ex noexrc Allows the execution of .exrc files that reside outside the user s home directory. hardtabs ht 8 Defines boundaries for terminal hardware tabs. ignorecase ic noic Disregards case during a search. lisp nolisp Inserts indents in appropriate lisp format. and are modified to have meaning for lisp. list nolist Prints tabs as ai marks ends of lines with . Use list to tell if end character is a tab or a space. magic magic Wildcard characters . dot asterisk and brackets have special .