;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
-;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-;; 02111-1307, USA.
+;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
(input-method t nil cjk-util)
-(title "AA")
-
(description "Provide utilities for CJK input methods.
This is acutually not a standalone input method, but is expected
to be included in the other input method (e.g. zh-py).
(exit-fullwidth-mode
("<<" (shift t)))
(enter-single-fullwidth-mode
- ("Z" (shift single-fullwidth-mode)))
-
- ;; Typing 1, 2, ..., 0 selects the 0th, 1st, ..., 9th candidate.
- (choose
- ("1" (select 0))
- ("2" (select 1))
- ("3" (select 2))
- ("4" (select 3))
- ("5" (select 4))
- ("6" (select 5))
- ("7" (select 6))
- ("8" (select 7))
- ("9" (select 8))
- ("0" (select 9)))
-
- (change-candidate
- ((Left) (select @-))
- ((C-b) (select @-))
- ((Right) (select @+))
- ((C-f) (select @+))
- ((Up) (select @[))
- ((C-p) (select @[))
- ((Down) (select @]))
- ((C-n) (select @]))))
+ ("Z" (shift single-fullwidth-mode))))
(state
- (init
- "A"
- (enter-fullwidth-mode)
- (enter-single-fullwidth-mode))
-
(fullwidth-mode
"A"
(fullwidth (commit))