diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | im.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -88,6 +88,8 @@ ranger pageup/pagedown does not work when the im is turned on vim If the im is turned on, it will start in vreplace mode +TODO: + Smarter handling of escape code sequences to fix the above ------------------------------=[Acknowledgements]=------------------------------ I would like to thank jdh8 on github for creating the ibus-table format boshiamy file I used to make boshiamy.h @@ -19,7 +19,7 @@ #define ESCAPE_KEY '`' //Vertical Tab Ctrl+K #define TOGGLE_KEY 0x0B -#define IM_KEY_RANGE_LEN 7 +#define IM_KEY_RANGE_LEN 5 //Array of Input method key ranges(inclusive) seperate from the above char im_key_ranges[IM_KEY_RANGE_LEN][2] = { @@ -28,8 +28,6 @@ char im_key_ranges[IM_KEY_RANGE_LEN][2] = { {' ',' '}, {',',','}, {'.','.'}, - {'[','['}, - {']',']'}, }; int is_im_key(char input) { for (int i = 0; i < IM_KEY_RANGE_LEN; i++) { |