UniversalIme/config.yaml
2024-07-07 22:34:41 -04:00

38 lines
1.7 KiB
YAML
Executable file

#Any keys can be assigned with any value defined in /src/types/keys.nim
#It is recommended currently you only use non printing characters.
# e.g; Shift, Alt, Ctrl.
#Printing characters; e.g; a, b, c. will have unforesin interactions
#Capslock is special. It allows you to toggle any for katakana as well as jinput
#Shift, Alt, Ctrl are split between X_L and X_R,
#If you dont use _L|_R you select for either
---
global:
#timeout interval for keybinds in ms. E.g shift + ctrl (101ms) will timeout and do nothing
interval: 100
#useGui, otherwise you will use the animal tabbing option
GUI: false
#amount of options per gui page
maxGuiItems : 10
#options are: Kanji, Slang, Names, Base, and are the default.
imeSources : ["Kanji", "Slang", "Names", "Base"]
#XF86 are special keys which are used for things like volume controls, etc.
#They are NOT F1, F2, F3
#If you have a normal 106-108 key keyboard, you will not have these, but may takeup space in your keyboard map
#In this case, your typing will be more responsive my enabling this
useXF86ForScratch : false
enableJInput:
#toggles general kana conversions on and off.
toggle: [Shift_L, Shift_R]
switchBetweenKana:
#switches between katakana and hiragana.
toggle: [Ctrl, Space]
kanjiConversion:
#Kanji conversion works by entering a keybind followed by the length of the kana you want to convert
#e.g by default: you type さくら then ctrl+shift+3 to start your kanji search
kanaReadPrefix: [Ctrl, Shift]
#If gui is not on, you tab through the kana manually (see readme for gif example)
#you use these to go forward or back
#really only useful in situations where you cant pull up the gui
goForwardKey : [Shift, Shift]
goBackKey : [Ctrl, Ctrl]