docs: fix broken nested markdown code blocks and format configuration section in README.md
This commit is contained in:
parent
51c2b2a49a
commit
43aaef9d43
1 changed files with 13 additions and 13 deletions
26
README.md
26
README.md
|
|
@ -197,6 +197,10 @@ toggle_method_key = "shift" # Ctrl+Shift to toggle VNI/Telex
|
|||
start_enabled = true # Vietnamese by default
|
||||
grab = true # grab keyboard (evdev)
|
||||
|
||||
[auto_restore]
|
||||
enabled = false # Auto-restore English words (defaults to false)
|
||||
trigger_keys = ["space", "escape"]
|
||||
|
||||
[password_detection]
|
||||
enabled = true
|
||||
check_atspi2 = true
|
||||
|
|
@ -212,21 +216,9 @@ enabled = true
|
|||
english_apps = ["code", "vim"]
|
||||
vietnamese_apps = ["telegram", "discord", "firefox"]
|
||||
bypass_apps = ["steam"]
|
||||
|
||||
### Terminal Usage
|
||||
|
||||
Viet+ works perfectly in terminals. When running inside a terminal (e.g., gnome-terminal, kitty), Vietnamese input is automatically enabled:
|
||||
|
||||
```toml
|
||||
terminal_input_method = "vni" # Automatically switch to VNI when running in a terminal app
|
||||
```
|
||||
|
||||
Supported terminals: `kitty`, `alacritty`, `gnome-terminal`, `konsole`, `foot`, `wezterm`, `st`, `urxvt`, `xterm`
|
||||
|
||||
Type Vietnamese directly — no pre-edit buffer, no underline, no duplication. Just type VNI or Telex digits and see Unicode characters instantly!
|
||||
terminal_apps = ["kitty", "alacritty", "gnome-terminal", "konsole", "foot",
|
||||
"wezterm", "st", "urxvt", "xterm"]
|
||||
terminal_input_method = "vni"
|
||||
terminal_input_method = "vni" # Automatically switch to VNI when running in a terminal app
|
||||
|
||||
[macros]
|
||||
ko = "không"
|
||||
|
|
@ -234,6 +226,14 @@ dc = "được"
|
|||
vs = "với"
|
||||
```
|
||||
|
||||
### Terminal Usage
|
||||
|
||||
Viet+ works perfectly in terminals. When running inside a terminal (e.g., gnome-terminal, kitty), Vietnamese input is automatically enabled using the input method specified by `terminal_input_method` under `[app_state]`.
|
||||
|
||||
Supported terminals: `kitty`, `alacritty`, `gnome-terminal`, `konsole`, `foot`, `wezterm`, `st`, `urxvt`, `xterm`
|
||||
|
||||
Type Vietnamese directly — no pre-edit buffer, no underline, no duplication. Just type VNI or Telex digits and see Unicode characters instantly!
|
||||
|
||||
---
|
||||
|
||||
## Architecture
|
||||
|
|
|
|||
Loading…
Reference in a new issue