Skip to content

Instantly share code, notes, and snippets.

@fanzeyi
Created April 16, 2012 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fanzeyi/2397262 to your computer and use it in GitHub Desktop.
Save fanzeyi/2397262 to your computer and use it in GitHub Desktop.
ibus-pinyin 修改简体中文状态下方括号
--- a/src/PYFallbackEditor.cc
+++ b/src/PYFallbackEditor.cc
@@ -53,9 +53,9 @@ FallbackEditor::processPunctForSimplifiedChinese (guint keyval, guint keycode, g
// case '=':
// case '+':
case '[':
- commit ("【"); return TRUE;
+ commit ("「"); return TRUE;
case ']':
- commit ("】"); return TRUE;
+ commit ("」"); return TRUE;
case '{':
commit ("『"); return TRUE;
case '}':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment