aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-23 21:05:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-23 21:05:52 +0000
commitcc0b9339cde8f25939b635c63dfc8da490e6248c (patch)
tree3cea0fb3ad995d2ebb7bf1965ccceb172854f2dd /rc.c
parentadd emacs_like_lineedit (diff)
downloadw3m-cc0b9339cde8f25939b635c63dfc8da490e6248c.tar.gz
w3m-cc0b9339cde8f25939b635c63dfc8da490e6248c.zip
add vi_prec_num
Diffstat (limited to '')
-rw-r--r--rc.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index e12fdc2..5b70bfd 100644
--- a/rc.c
+++ b/rc.c
@@ -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