Git Product home page Git Product logo

mini-wubi's Introduction

Install

Loading mini-wubi rules is lazy,unless you first time toggled the mini-wubi input method. you can treat it as a minor mode,called by mini-wubi-mode, or treat it as a input method, called by toggle-input-method.

(add-to-list 'load-path "path/to/mini-wubi")
(require 'mini-wubi)
(setq default-input-method "mini-wubi")

Why I use this?

quail provided a good utility to remap physical keyborad layout to standard Qwerty keyborad. I use dvorak layout for daily code typing,when I want to type some Chinese characters,I found it is annoying to switch layout between Dvorak and Qwerty,even my keyborad is able to switch layouts in a single one keypress,I don’t use Dvorak layout to typing Wubi,I consider changing the layout is unreasonable,so here is my setting for those people stick with my side.

(add-to-list 'quail-keyboard-layout-alist
             (cons "dvorak" (concat "                              "
                                    "  1!2@3#4$5%6^7&8*9(0)[{]}`~  "
                                    "  '\",<.>pPyYfFgGcCrRlL/?=+    "
                                    "  aAoOeEuUiIdDhHtTnNsS-_\\|    "
                                    "  ;:qQjJkKxXbBmMwWvVzZ        "
                                    "                              ")))
(quail-set-keyboard-layout "dvorak")

Document

Indicator Notation in mode line

NotationMeaningUnicode name
$EnglishDollar Sign
¥ChineseYen Sign
HalfwidthCircle With Right Half Black
FullwidthBlack Circle

Test

make test

mini-wubi's People

Contributors

sujikinen avatar

Watchers

 avatar  avatar

mini-wubi's Issues

popup is expensive

popup is expensive,when showing the guidance,cause it create and delete every time,though it provided a
API to hide the popup overlay,not possible to move it to other place.a better way would be idle lazy delete,
or moving torward the future feature childframe

buffer local problem

The variables is not buffer local currently ,which means that activated the mini-wubi would affect other buffer's mini-wubi behaviour,need to find a way to maintain a buffer local quail-map.

about integration test

the test couldn't run under cask script mode

the test process will hanging, and get a input area.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.