Created
January 29, 2015 14:48
-
-
Save nhanb/b2ace236ed04e90e78c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d976a64f560510125bfddf02bd892d42bc94e5b5 Mon Sep 17 00:00:00 2001 | |
From: nhanb <[email protected]> | |
Date: Thu, 29 Jan 2015 21:42:52 +0700 | |
Subject: [PATCH] add 'j' to WordBreakSyms | |
I type in VNI style so `j` doesn't need to be processed by unikey at | |
all. Making `j` a WordBreakSym prevents unikey from hijacking my `jj` | |
keymap in vim. | |
--- | |
src/unikey-im.cpp | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/src/unikey-im.cpp b/src/unikey-im.cpp | |
index 126e329..7573763 100644 | |
--- a/src/unikey-im.cpp | |
+++ b/src/unikey-im.cpp | |
@@ -85,7 +85,7 @@ static const unsigned char WordBreakSyms[] = | |
',', ';', ':', '.', '\"', '\'', '!', '?', ' ', | |
'<', '>', '=', '+', '-', '*', '/', '\\', | |
'_', '~', '`', '@', '#', '$', '%', '^', '&', '(', ')', '{', '}', '[', ']', | |
- '|' | |
+ '|', 'j' | |
}; | |
static const unsigned char WordAutoCommit[] = | |
-- | |
1.9.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment