add label_topline
This commit is contained in:
13
rc.c
13
rc.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: rc.c,v 1.10 2001/11/23 21:05:52 ukai Exp $ */
|
||||
/* $Id: rc.c,v 1.11 2001/11/23 21:22:02 ukai Exp $ */
|
||||
/*
|
||||
* Initialization file etc.
|
||||
*/
|
||||
@@ -95,6 +95,9 @@ static int rc_initialized = 0;
|
||||
#ifdef VI_PREC_NUM
|
||||
#define CMT_VI_PREC_NUM "vi<76><69><EFBFBD>ο<EFBFBD><CEBF>ͥץ<CDA5><D7A5>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>"
|
||||
#endif
|
||||
#ifdef LABEL_TOPLINE
|
||||
#define CMT_LABEL_TOPLINE "<22><><EFBFBD>٥<EFBFBD><D9A5>˰<EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˹<EFBFBD>Ƭ<EFBFBD>ˤʤ<CBA4><CAA4>褦<EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD>"
|
||||
#endif
|
||||
#define CMT_SHOW_NUM "<22><><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
#define CMT_MIMETYPES "<22><><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>mime.types"
|
||||
#define CMT_MAILCAP "<22><><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>mailcap"
|
||||
@@ -199,6 +202,9 @@ static int rc_initialized = 0;
|
||||
#ifdef VI_PREC_NUM
|
||||
#define CMT_VI_PREC_NUM "vi-like numeric prefix"
|
||||
#endif
|
||||
#ifdef LABEL_TOPLINE
|
||||
#define CMT_LABEL_TOPLINE "move cursor to top line when going to label"
|
||||
#endif
|
||||
#define CMT_SHOW_NUM "Show line number"
|
||||
#define CMT_MIMETYPES "mime.types files"
|
||||
#define CMT_MAILCAP "mailcap files"
|
||||
@@ -403,7 +409,10 @@ struct param_ptr params3[] =
|
||||
{"emacs_like_lineedit", P_INT, PI_ONOFF, (void *) &emacs_like_lineedit, CMT_EMACS_LIKE_LINEEDIT, NULL },
|
||||
#endif
|
||||
#ifdef VI_PREC_NUM
|
||||
{"vi_prec_num", P_INT, PI_ONOFF, (void *) &vi_prec_num, CMT_VI_PREC_NUM },
|
||||
{"vi_prec_num", P_INT, PI_ONOFF, (void *) &vi_prec_num, CMT_VI_PREC_NUM, NULL },
|
||||
#endif
|
||||
#ifdef LABEL_TOPLINE
|
||||
{"label_topline", P_INT, PI_ONOFF, (void *) &label_topline, CMT_LABEL_TOPLINE, NULL },
|
||||
#endif
|
||||
{"wrap_search", P_INT, PI_ONOFF, (void *) &WrapDefault, CMT_WRAP, NULL},
|
||||
{"ignorecase_search", P_INT, PI_ONOFF, (void *) &IgnoreCase, CMT_IGNORE_CASE, NULL},
|
||||
|
||||
Reference in New Issue
Block a user