diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:40:19 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:40:19 +0000 |
commit | da4c9c4db790a50c7792b837dd39b9cb36da3905 (patch) | |
tree | aa2cdde3d3fb63e661c6136aa761c86ac8e2432b /rc.c | |
parent | add label_topline (diff) | |
download | w3m-da4c9c4db790a50c7792b837dd39b9cb36da3905.tar.gz w3m-da4c9c4db790a50c7792b837dd39b9cb36da3905.zip |
add nextpage_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.11 2001/11/23 21:22:02 ukai Exp $ */ +/* $Id: rc.c,v 1.12 2001/11/23 21:40:19 ukai Exp $ */ /* * Initialization file etc. */ @@ -96,7 +96,10 @@ static int rc_initialized = 0; #define CMT_VI_PREC_NUM "vi風の数値プレフィクス" #endif #ifdef LABEL_TOPLINE -#define CMT_LABEL_TOPLINE "ラベルに移動する時に行頭になるようにする" +#define CMT_LABEL_TOPLINE "ラベルに移動する時にカーソルがトップになるようにする" +#endif +#ifdef NEXTPAGE_TOPLINE +#define CMT_NEXTPAGE_TOPLINE "次のページに移動する時にカーソルがトップになるようにする" #endif #define CMT_SHOW_NUM "行番号を表示する" #define CMT_MIMETYPES "利用するmime.types" @@ -205,6 +208,9 @@ static int rc_initialized = 0; #ifdef LABEL_TOPLINE #define CMT_LABEL_TOPLINE "move cursor to top line when going to label" #endif +#ifdef NEXTPAGE_TOPLINE +#define CMT_NEXTPAGE_TOPLINE "move cursor to top line when moving to next page" +#endif #define CMT_SHOW_NUM "Show line number" #define CMT_MIMETYPES "mime.types files" #define CMT_MAILCAP "mailcap files" @@ -414,6 +420,9 @@ struct param_ptr params3[] = #ifdef LABEL_TOPLINE {"label_topline", P_INT, PI_ONOFF, (void *) &label_topline, CMT_LABEL_TOPLINE, NULL }, #endif +#ifdef NEXTPAGE_TOPLINE + {"nextpage_topline", P_INT, PI_ONOFF, (void *) &nextpage_topline, CMT_NEXTPAGE_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}, #ifdef USE_MOUSE |