[BACK]Return to feature.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / vim

Annotation of src/usr.bin/vim/feature.h, Revision 1.1

1.1     ! downsj      1: /*     $OpenBSD$       */
        !             2: /* vi:set ts=8 sw=8:
        !             3:  *
        !             4:  * VIM - Vi IMproved           by Bram Moolenaar
        !             5:  *
        !             6:  * Do ":help uganda"  in Vim to read copying and usage conditions.
        !             7:  * Do ":help credits" in Vim to see a list of people who contributed.
        !             8:  */
        !             9: /*
        !            10:  * feature.h: Defines for optional code and preferences
        !            11:  *
        !            12:  * Edit this file to include/exclude parts of Vim, before compiling.
        !            13:  * The only other file that may be edited is Makefile, it contains machine
        !            14:  * specific options.
        !            15:  *
        !            16:  * When you want to include a define, change the "#if 0" into "#if 1".
        !            17:  */
        !            18:
        !            19: /*
        !            20:  * Optional code:
        !            21:  * ==============
        !            22:  */
        !            23:
        !            24: /*
        !            25:  * DIGRAPHS            When defined: Include digraph support.
        !            26:  *                     In insert mode and on the command line you will be
        !            27:  *                     able to use digraphs. The CTRL-K command will work.
        !            28:  */
        !            29: #define DIGRAPHS
        !            30:
        !            31: /*
        !            32:  * HAVE_LANGMAP                When defined: Include support for 'langmap' option.
        !            33:  *                     Only useful when you put your keyboard in a special
        !            34:  *                     language mode, e.g. for typing greek.
        !            35:  */
        !            36: #undef HAVE_LANGMAP
        !            37:
        !            38: /*
        !            39:  * INSERT_EXPAND       When defined: Support for CTRL-N/CTRL-P/CTRL-X in
        !            40:  *                     insert mode. Takes about 4Kbyte of code.
        !            41:  */
        !            42: #define INSERT_EXPAND
        !            43:
        !            44: /*
        !            45:  * RIGHTLEFT           When defined: Right-to-left typing and Hebrew support
        !            46:  *                     Takes some code.
        !            47:  */
        !            48: #define RIGHTLEFT
        !            49:
        !            50: /*
        !            51:  * EMACS_TAGS          When defined: Include support for emacs style
        !            52:  *                     TAGS file. Takes some code.
        !            53:  */
        !            54: #define EMACS_TAGS
        !            55:
        !            56: /*
        !            57:  * AUTOCMD             When defined: Include support for ":autocmd"
        !            58:  */
        !            59: #define AUTOCMD
        !            60:
        !            61: /*
        !            62:  * VIMINFO             When defined: Include support for reading/writing
        !            63:  *                     the viminfo file. Takes about 8Kbyte of code.
        !            64:  */
        !            65: #define VIMINFO
        !            66:
        !            67: /*
        !            68:  * Choose one out of the following four:
        !            69:  *
        !            70:  * NO_BUILTIN_TCAPS    When defined: Do not include any builtin termcap
        !            71:  *                     entries (used only with HAVE_TGETENT defined).
        !            72:  *
        !            73:  * (nothing)           Machine specific termcap entries will be included.
        !            74:  *
        !            75:  * SOME_BUILTIN_TCAPS  When defined: Include most useful builtin termcap
        !            76:  *                     entries (used only with NO_BUILTIN_TCAPS not defined).
        !            77:  *                     This is the default.
        !            78:  *
        !            79:  * ALL_BUILTIN_TCAPS   When defined: Include all builtin termcap entries
        !            80:  *                     (used only with NO_BUILTIN_TCAPS not defined).
        !            81:  */
        !            82: #define NO_BUILTIN_TCAPS
        !            83:
        !            84: #ifndef NO_BUILTIN_TCAPS
        !            85: # if 0
        !            86: #  define ALL_BUILTIN_TCAPS
        !            87: # else
        !            88: #  if 1
        !            89: #   define SOME_BUILTIN_TCAPS          /* default */
        !            90: #  endif
        !            91: # endif
        !            92: #endif
        !            93:
        !            94: /*
        !            95:  * LISPINDENT          When defined: Include lisp indenting (From Eric
        !            96:  *                     Fischer). Doesn't completely work like vi (yet).
        !            97:  * CINDENT             When defined: Include C code indenting (From Eric
        !            98:  *                     Fischer).
        !            99:  * SMARTINDENT         When defined: Do smart C code indenting when the 'si'
        !           100:  *                     option is set. It's not as good as CINDENT, only
        !           101:  *                     included to keep the old code.
        !           102:  *
        !           103:  * These two need to be defined when making prototypes.
        !           104:  */
        !           105: #define LISPINDENT
        !           106:
        !           107: #define CINDENT
        !           108:
        !           109: #define SMARTINDENT
        !           110:
        !           111: /*
        !           112:  * Preferences:
        !           113:  * ============
        !           114:  */
        !           115:
        !           116: /*
        !           117:  * COMPATIBLE          When defined: Start in vi-compatible mode.
        !           118:  *                     Sets all option defaults to their vi-compatible value.
        !           119:  */
        !           120: #undef COMPATIBLE
        !           121:
        !           122: /*
        !           123:  * WRITEBACKUP         When defined: 'writebackup' is default on: Use
        !           124:  *                     a backup file while overwriting a file.
        !           125:  */
        !           126: #undef WRITEBACKUP
        !           127:
        !           128: /*
        !           129:  * SAVE_XTERM_SCREEN   When defined: The t_ti and t_te entries for the
        !           130:  *                     builtin xterm will be set to save the screen when
        !           131:  *                     starting Vim and restoring it when exiting.
        !           132:  */
        !           133: #define SAVE_XTERM_SCREEN
        !           134:
        !           135: /*
        !           136:  * DEBUG               When defined: Output a lot of debugging garbage.
        !           137:  */
        !           138: #undef DEBUG
        !           139:
        !           140: /*
        !           141:  * VIMRC_FILE          Name of the .vimrc file in current dir.
        !           142:  */
        !           143: #define VIMRC_FILE     ".vimrc"
        !           144:
        !           145: /*
        !           146:  * EXRC_FILE           Name of the .exrc file in current dir.
        !           147:  */
        !           148: #define EXRC_FILE      ".exrc"
        !           149:
        !           150: /*
        !           151:  * GVIMRC_FILE         Name of the .gvimrc file in current dir.
        !           152:  */
        !           153: #define GVIMRC_FILE    ".gvimrc"
        !           154:
        !           155: /*
        !           156:  * USR_VIMRC_FILE      Name of the user .vimrc file.
        !           157:  */
        !           158: #define USR_VIMRC_FILE         "$HOME/.vimrc"
        !           159:
        !           160: /*
        !           161:  * USR_EXRC_FILE       Name of the user .exrc file.
        !           162:  */
        !           163: #define USR_EXRC_FILE          "$HOME/.exrc"
        !           164:
        !           165: /*
        !           166:  * USR_GVIMRC_FILE     Name of the user .gvimrc file.
        !           167:  */
        !           168: #define USR_GVIMRC_FILE                "$HOME/.gvimrc"
        !           169:
        !           170: /*
        !           171:  * SYS_VIMRC_FILE      Name of the system-wide .vimrc file.
        !           172:  */
        !           173: #define SYS_VIMRC_FILE         "/etc/vimrc"
        !           174:
        !           175: /*
        !           176:  * SYS_COMPATRC_FILE   Name of the system-wide .vimrc file for compat mode.
        !           177:  */
        !           178: #define SYS_COMPATRC_FILE      "/etc/virc"
        !           179:
        !           180: /*
        !           181:  * SYS_GVIMRC_FILE     Name of the system-wide .gvimrc file.
        !           182:  */
        !           183: #define SYS_GVIMRC_FILE                "/etc/gvimrc"
        !           184:
        !           185: /*
        !           186:  * VIM_HLP             Name of the help file.
        !           187:  */
        !           188: #define VIM_HLP                "/usr/share/vim/vim_help.txt"
        !           189:
        !           190:
        !           191: /*
        !           192:  * Machine dependent:
        !           193:  * ==================
        !           194:  */
        !           195:
        !           196: /*
        !           197:  * USE_SYSTEM          Unix only. When defined: Use system() instead of
        !           198:  *                     fork/exec for starting a shell.
        !           199:  */
        !           200: #undef USE_SYSTEM
        !           201:
        !           202: /*
        !           203:  * WANT_X11            Unix only. When defined: Include code for xterm title
        !           204:  *                     saving. Only works if HAVE_X11 is also defined.
        !           205:  */
        !           206: #undef WANT_X11
        !           207:
        !           208: /*
        !           209:  * WANT_GUI            Would be nice, but that doesn't work. To compile Vim
        !           210:  *                     with the GUI (gvim) you have to edit Makefile.
        !           211:  */
        !           212:
        !           213: /*
        !           214:  * NO_ARP              Amiga only. When defined: Do not use arp.library, DOS
        !           215:  *                     2.0 required.
        !           216:  */
        !           217: #undef NO_ARP