;
; $Id: 2C_VI,v 1.1.2.1 1999/02/08 02:52:02 yamasita Exp $
;

; FreeWnn is a network-extensible Kana-to-Kanji conversion system.
; This file is part of FreeWnn.
; 
; Copyright Kyoto University Research Institute for Mathematical Sciences
;                 1987, 1988, 1989, 1990, 1991, 1992
; Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
; Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
;
; Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with GNU Emacs; see the file COPYING.  If not, write to the
; Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
;
; Commentary:
;
; Change log:
;
; Last modified date: 8,Feb.1999
;

; vi move-mode
(defvar char (all))
(defvar esc (list '\033'))
(defvar susup (list '^Z'))
(defvar jumpc (list F f T t))
(defvar termc (list B b E e W w H h j k L l ' '))
(defvar inpc (list A a I i O o S s C R))
(defvar mzrc (list m z r '\'' '\`' @))
(defvar find (list / ?))

(if vijump)(char)	(off vijump)(char)

(if vic)c		(off vic)(off vimove)c
(if vic)(jumpc)		(off vic)(off vimove)(on vijump)(jumpc)
(if vic)(if zenkaku)(termc)	(off vic)(off vimove)(on viquote)(on vithrow)(off zenkaku)(on VIzenkaku)(termc)
(if vic)(termc)		(off vic)(off vimove)(on viquote)(termc)
(if vic)(char)		(off vic)(char)

(if vid)d		(off vid)d
(if vid)(jumpc)		(off vid)(on vijump)(jumpc)
(if vid)(termc)		(off vid)(termc)
(if vid)(char)		(off vid)(char)

(if vimzrc)(char)	(off vimzrc)(char)

c			(on vic)c
d			(on vid)d
(jumpc)			(on vijump)(jumpc)
(mzrc)			(on vimzrc)(mzrc)
(if romkan)(inpc)	(off vimove)(on viquote)(inpc)
(if zenkaku)(inpc)	(off vimove)(on vithrow)(on viquote)(off zenkaku)(on VIzenkaku)(inpc)
(unless zenkaku)(inpc)	(off vimove)(on viquote)(inpc)
;(mzrc)(char)		(mzrc)(char)'^L'

ZZ		ZZ'^L'(on quote)(off romkan)(off zenkaku)(off vimode)(on vimove)
(susup)		(susup)(on quote)(off romkan)(off zenkaku)(off vimode)(on vimove)

!!			(off vimove)(on vish)!!'^L'
:			(off vimove)(on viex):
(if romzen)(find)	(off vimove)(on vithrow)(find)(on vistr)
(if romkan)(find)	(off vimove)(on vistr)(find)
(if zenkaku)(find)	(off vimove)(on vithrow)(off zenkaku)(on VIzenkaku)(find)(on vistr)
(unless zenkaku)(find)	(off vimove)(on vistr)(find)

;'^I'		'^E'
;'\x9f'		'^Y'
(char)		(char)
