diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:05:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-23 21:05:52 +0000 |
commit | cc0b9339cde8f25939b635c63dfc8da490e6248c (patch) | |
tree | 3cea0fb3ad995d2ebb7bf1965ccceb172854f2dd /rc.c | |
parent | add emacs_like_lineedit (diff) | |
download | w3m-cc0b9339cde8f25939b635c63dfc8da490e6248c.tar.gz w3m-cc0b9339cde8f25939b635c63dfc8da490e6248c.zip |
add vi_prec_num
Diffstat (limited to '')
-rw-r--r-- | rc.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.9 2001/11/23 20:50:59 ukai Exp $ */ +/* $Id: rc.c,v 1.10 2001/11/23 21:05:52 ukai Exp $ */ /* * Initialization file etc. */ @@ -92,6 +92,9 @@ static int rc_initialized = 0; #ifdef EMACS_LIKE_LINEEDIT #define CMT_EMACS_LIKE_LINEEDIT "Emacs風の行編集にする" #endif +#ifdef VI_PREC_NUM +#define CMT_VI_PREC_NUM "vi風の数値プレフィクス" +#endif #define CMT_SHOW_NUM "行番号を表示する" #define CMT_MIMETYPES "利用するmime.types" #define CMT_MAILCAP "利用するmailcap" @@ -193,6 +196,9 @@ static int rc_initialized = 0; #ifdef EMACS_LIKE_LINEEDIT #define CMT_EMACS_LIKE_LINEEDIT "Emacs-style line editing" #endif +#ifdef VI_PREC_NUM +#define CMT_VI_PREC_NUM "vi-like numeric prefix" +#endif #define CMT_SHOW_NUM "Show line number" #define CMT_MIMETYPES "mime.types files" #define CMT_MAILCAP "mailcap files" @@ -396,6 +402,9 @@ struct param_ptr params3[] = #ifdef EMACS_LIKE_LINEEDIT {"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 }, +#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 |