comparison src/option.h @ 164:8b0ee9d57d7f

updated for version 7.0050
author vimboss
date Sat, 12 Feb 2005 14:29:27 +0000
parents 6df0106fc595
children 4d9eabb1396e
comparison
equal deleted inserted replaced
163:06bc859d1a32 164:8b0ee9d57d7f
130 #define CPO_EXECBUF 'e' 130 #define CPO_EXECBUF 'e'
131 #define CPO_EMPTYREGION 'E' /* operating on empty region is an error */ 131 #define CPO_EMPTYREGION 'E' /* operating on empty region is an error */
132 #define CPO_FNAMER 'f' /* set file name for ":r file" */ 132 #define CPO_FNAMER 'f' /* set file name for ":r file" */
133 #define CPO_FNAMEW 'F' /* set file name for ":w file" */ 133 #define CPO_FNAMEW 'F' /* set file name for ":w file" */
134 #define CPO_GOTO1 'g' /* goto line 1 for ":edit" */ 134 #define CPO_GOTO1 'g' /* goto line 1 for ":edit" */
135 #define CPO_INSEND 'H' /* "I" inserts before last blank in line */
135 #define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */ 136 #define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */
136 #define CPO_INDENT 'I' /* remove auto-indent more often */ 137 #define CPO_INDENT 'I' /* remove auto-indent more often */
137 #define CPO_JOINSP 'j' /* only use two spaces for join after '.' */ 138 #define CPO_JOINSP 'j' /* only use two spaces for join after '.' */
138 #define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */ 139 #define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */
139 #define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */ 140 #define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */
144 #define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */ 145 #define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */
145 #define CPO_NUMCOL 'n' /* 'number' column also used for text */ 146 #define CPO_NUMCOL 'n' /* 'number' column also used for text */
146 #define CPO_LINEOFF 'o' 147 #define CPO_LINEOFF 'o'
147 #define CPO_OVERNEW 'O' /* silently overwrite new file */ 148 #define CPO_OVERNEW 'O' /* silently overwrite new file */
148 #define CPO_LISP 'p' /* 'lisp' indenting */ 149 #define CPO_LISP 'p' /* 'lisp' indenting */
150 #define CPO_JOINCOL 'q' /* with "3J" use column after first join */
149 #define CPO_REDO 'r' 151 #define CPO_REDO 'r'
150 #define CPO_REMMARK 'R' /* remove marks when filtering */ 152 #define CPO_REMMARK 'R' /* remove marks when filtering */
151 #define CPO_BUFOPT 's' 153 #define CPO_BUFOPT 's'
152 #define CPO_BUFOPTGLOB 'S' 154 #define CPO_BUFOPTGLOB 'S'
153 #define CPO_TAGPAT 't' 155 #define CPO_TAGPAT 't'
154 #define CPO_UNDO 'u' /* "u" undoes itself */ 156 #define CPO_UNDO 'u' /* "u" undoes itself */
155 #define CPO_BACKSPACE 'v' /* "v" keep deleted text */ 157 #define CPO_BACKSPACE 'v' /* "v" keep deleted text */
156 #define CPO_CW 'w' /* "cw" only changes one blank */ 158 #define CPO_CW 'w' /* "cw" only changes one blank */
157 #define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */ 159 #define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */
158 #define CPO_ESC 'x' 160 #define CPO_ESC 'x'
161 #define CPO_REPLCNT 'X' /* "R" with a count only delets chars once */
159 #define CPO_YANK 'y' 162 #define CPO_YANK 'y'
163 #define CPO_KEEPRO 'Z' /* don't reset 'readonly' on ":w!" */
160 #define CPO_DOLLAR '$' 164 #define CPO_DOLLAR '$'
161 #define CPO_FILTER '!' 165 #define CPO_FILTER '!'
162 #define CPO_MATCH '%' 166 #define CPO_MATCH '%'
163 #define CPO_STAR '*' /* ":*" means ":@" */ 167 #define CPO_STAR '*' /* ":*" means ":@" */
164 #define CPO_PLUS '+' /* ":write file" resets 'modified' */ 168 #define CPO_PLUS '+' /* ":write file" resets 'modified' */
165 #define CPO_MINUS '-' /* "9-" fails at and before line 9 */ 169 #define CPO_MINUS '-' /* "9-" fails at and before line 9 */
166 #define CPO_SPECI '<' /* don't recognize <> in mappings */ 170 #define CPO_SPECI '<' /* don't recognize <> in mappings */
167 #define CPO_DEFAULT "aABceFs" 171 #define CPO_REGAPPEND '>' /* insert NL when appending to a register */
168 #define CPO_ALL "aAbBcCdDeEfFgiIjJkKlLmMnoOprRsStuvwWxy$!%*-+<" 172 /* POSIX flags */
173 #define CPO_HASH '#' /* "D", "o" and "O" do not use a count */
174 #define CPO_PARA '{' /* "{" is also a paragraph boundary */
175 #define CPO_TSIZE '|' /* $LINES and $COLUMNS overrule term size */
176 #define CPO_PRESERVE '&' /* keep swap file after :preserve */
177 /* default values for Vim, Vi and POSIX */
178 #define CPO_VIM "aABceFs"
179 #define CPO_VI "aAbBcCdDeEfFgHiIjJkKlLmMnoOpqrRsStuvwWxXyZ$!%*-+<>"
180 #define CPO_ALL "aAbBcCdDeEfFgHiIjJkKlLmMnoOpqrRsStuvwWxXyZ$!%*-+<>#{|&"
169 181
170 /* characters for p_ww option: */ 182 /* characters for p_ww option: */
171 #define WW_ALL "bshl<>[],~" 183 #define WW_ALL "bshl<>[],~"
172 184
173 /* characters for p_mouse option: */ 185 /* characters for p_mouse option: */
787 EXTERN long p_verbose; /* 'verbose' */ 799 EXTERN long p_verbose; /* 'verbose' */
788 EXTERN int p_warn; /* 'warn' */ 800 EXTERN int p_warn; /* 'warn' */
789 #ifdef FEAT_CMDL_COMPL 801 #ifdef FEAT_CMDL_COMPL
790 EXTERN char_u *p_wop; /* 'wildoptions' */ 802 EXTERN char_u *p_wop; /* 'wildoptions' */
791 #endif 803 #endif
804 EXTERN long p_window; /* 'window' */
792 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(LINT) \ 805 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(LINT) \
793 || defined (FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_KDE) 806 || defined (FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_KDE)
794 #define FEAT_WAK 807 #define FEAT_WAK
795 EXTERN char_u *p_wak; /* 'winaltkeys' */ 808 EXTERN char_u *p_wak; /* 'winaltkeys' */
796 #endif 809 #endif