diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:22:02 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:22:02 +0000 |
commit | 67012ecb75eb480953e09697f41164218595c52e (patch) | |
tree | 549cdabf747df1154957b699008ef70d22cf7b43 /rc.c | |
parent | default is TRUE (diff) | |
download | w3m-67012ecb75eb480953e09697f41164218595c52e.tar.gz w3m-67012ecb75eb480953e09697f41164218595c52e.zip |
add label_topline
Diffstat (limited to '')
-rw-r--r-- | rc.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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風の数値プレフィクス" #endif +#ifdef LABEL_TOPLINE +#define CMT_LABEL_TOPLINE "ラベルに移動する時に行頭になるようにする" +#endif #define CMT_SHOW_NUM "行番号を表示する" #define CMT_MIMETYPES "利用するmime.types" #define CMT_MAILCAP "利用する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}, |