Giter VIP home page Giter VIP logo

Comments (6)

purcell avatar purcell commented on May 13, 2024

I'm not familiar with ibus or fcitx, but custom.el is the wrong place to add that "global-set-key" setting. Try putting it in init.el instead, and restart emacs.

-Steve

from emacs.d.

redguardtoo avatar redguardtoo commented on May 13, 2024

@caml, use shift-space as hotkey of fcitx, this config works for me perfectly for ages.
This is part of my ~/.config/fcitx/config

[Hotkey]
# Hot key of Triggering Input Method
TriggerKey=SHIFT_SPACE
# Hotkey of Switching Chinese and English Mode
ChnEngSwitchKey=L_CTRL

BTW, you can use eim when fcitx not available.

from emacs.d.

cmal avatar cmal commented on May 13, 2024

thank you, chen bin.
and thank you, Steve.
Your methods both works. Thanks a lot.

from emacs.d.

gadmyth avatar gadmyth commented on May 13, 2024

I don't think it's a good solusion. I NEED use the C-SPC to swtich the input-method like ibus. So the real problem is how to stop emacs to capture C-SPC event. Even If we (global-unset-key (kbd "C-SPC")), emacs still catch the event and throw "C-SPC is undifined message" !!

from emacs.d.

purcell avatar purcell commented on May 13, 2024

@gadmyth That doesn't sound specific to this emacs.d config, though, right?

from emacs.d.

oKarolMoroz avatar oKarolMoroz commented on May 13, 2024

To anyone struggling with this issue: you have to set LC_CTYPE to something Chinese (zh_TW.UTF-8 did the trick in my case).

from emacs.d.

Related Issues (20)

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.