view Wnn/jd/rk.vi/2C_VI @ 3:ed4bb01eb317

- suppress warnings. - partially fixed comparison between pointer and 0.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 19:53:14 +0900
parents bbc77ca4def5
children
line wrap: on
line source

;
;   $Id: ./2C_VI $
;

;
; 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
; Copyright FreeWnn Project 1999, 2000
; 
; Maintainer:  FreeWnn Project   <freewnn@tomo.gr.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 of the License, 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 this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
;

; 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)