| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- #nop vim: set filetype=tt:;
- /*
- 本文件属于 PaoTin++ 的一部分。
- PaoTin++ © 2020~2024 的所有版权均由担子炮(dzp <danzipao@gmail.com>) 享有并保留一切法律权利
- 你可以在遵照 GPLv3 协议的基础之上使用、修改及重新分发本程序。
- */
- #nop 绑定事件,发生何种事件时,需要更新 UI;
- #var tmux-update-events[DEFAULT] {char/score};
- #nop tmux pane 边框的样式;
- #var tmux-pane-border-format[DEFAULT] {
- {left} {ID: [<g23><188>\$char[档案][账号]<099>]}
- {centre} {大名: [\$char[档案][大名]]}
- {right} {头衔: [\$char[档案][头衔]]}
- };
- #nop {Top} {TopSepBar} {MidSepBar} {Bot} {BotSepBar};
- #list prompt-fields create {
- { {place}{BotSepBar} {label}{<119>警报} {name}{alert} }
- { {place}{BotSepBar} {label}{屏幕美化} {name}{beautify} {cooldown}{600} {visibility}{HideCool} }
- { {place}{BotSepBar} {label}{状态栏更新} {name}{disable} {visibility}{HideLabel} }
- { {place}{BotSepBar} {label}{随手记} {name}{note} {color}{<134>}}
- };
- VAR {信息栏的配色主题} prompt-theme {
- {Disable}{<bbc>}
- {BusyColor}{<239>}
- {BattleColor}{<119>}
- {BattleBusyColor}{<599><119>}
- {TopSepBar}{<229>}
- {MidSepBar}{<229>}
- {BotSepBar}{<229>}
- {HotLabel}{<199><F399>}
- {CoolLabel}{<109>}
- {Value}{<299>}
- };
- VAR {信息栏的填充字符} prompt-padding {─};
- VAR {自定义图标} prompt-icon {
- {DisableRefresh}{🚫}
- };
- VAR {命令提示符,默认为空} prompt-prompt {};
- VAR {键盘扫描码} {global-keypad-code} {
- {Home} {\e[H}
- {End} {\e[F}
- {Up} {\e[A}
- {Down} {\e[B}
- {Left} {\e[D}
- {Right} {\e[C}
- {Center} {\e[G}
- {PageUp} {\e[5~}
- {PageDown} {\e[6~}
- {Enter} {\n}
- {ShiftHome} {\e[1;2H}
- {ShiftEnd} {\e[1;2F}
- {ShiftUp} {\e[1;2A}
- {ShiftDown} {\e[1;2B}
- {ShiftLeft} {\e[1;2D}
- {ShiftPageUp} {\e[5;2~}
- {ShiftPageDown} {\e[6;2~}
- {F1} {\eOP}
- {F2} {\eOQ}
- {F3} {\eOR}
- {F4} {\eOS}
- {F5} {\e[15~}
- {F6} {\e[17~}
- {F7} {\e[18~}
- {F8} {\e[19~}
- {F9} {\e[20~}
- {F10} {\e[21~}
- {F11} {\e[23~}
- {F12} {\e[24~}
- {Insert} {\e[2~}
- {Delete} {\e[3~}
- {KeyA} {a}
- {KeyB} {b}
- {KeyC} {c}
- {KeyD} {d}
- {KeyE} {e}
- {KeyF} {f}
- {KeyG} {g}
- {KeyH} {h}
- {KeyI} {i}
- {KeyJ} {j}
- {KeyK} {k}
- {KeyL} {l}
- {KeyM} {m}
- {KeyN} {n}
- {KeyO} {o}
- {KeyP} {p}
- {KeyQ} {q}
- {KeyR} {r}
- {KeyS} {s}
- {KeyT} {t}
- {KeyU} {u}
- {KeyV} {v}
- {KeyW} {w}
- {KeyX} {x}
- {KeyY} {y}
- {KeyZ} {z}
- {ShiftKeyA} {A}
- {ShiftKeyB} {B}
- {ShiftKeyC} {C}
- {ShiftKeyD} {D}
- {ShiftKeyE} {E}
- {ShiftKeyF} {F}
- {ShiftKeyG} {G}
- {ShiftKeyH} {H}
- {ShiftKeyI} {I}
- {ShiftKeyJ} {J}
- {ShiftKeyK} {K}
- {ShiftKeyL} {L}
- {ShiftKeyM} {M}
- {ShiftKeyN} {N}
- {ShiftKeyO} {O}
- {ShiftKeyP} {P}
- {ShiftKeyQ} {Q}
- {ShiftKeyR} {R}
- {ShiftKeyS} {S}
- {ShiftKeyT} {T}
- {ShiftKeyU} {U}
- {ShiftKeyV} {V}
- {ShiftKeyW} {W}
- {ShiftKeyX} {X}
- {ShiftKeyY} {Y}
- {ShiftKeyZ} {Z}
- {KeySemicolon} {;}
- {KeyColon} {:}
- {KeyDot} {.}
- {KeyAdd} {+}
- {KeySub} {-}
- {KeyMul} {*}
- {KeyDiv} {/}
- {KeyNum0} {0}
- {KeyNum1} {1}
- {KeyNum2} {2}
- {KeyNum3} {3}
- {KeyNum4} {4}
- {KeyNum5} {5}
- {KeyNum6} {6}
- {KeyNum7} {7}
- {KeyNum8} {8}
- {KeyNum9} {9}
- };
- #nop 热键绑定;
- #list global-key-bindings create {
- {{key}{^\cc} {meaning}{刷新屏幕} {action}{#screen resize 0 0}}
- {{key}{\cd} {meaning}{命令行智能切换} {action}{cli.SmartToggle}}
- {{key}{\co\cd} {meaning}{禁止/允许命令和触发} {action}{xtt.ToggleDisableCommands}}
- {{key}{\cos} {meaning}{禁止/允许状态栏更新} {action}{prompt.ToggleSwitch}}
- {{key}{\cob} {meaning}{禁止/允许界面宽字符美化} {action}{beautify.ToggleSwitch}}
- {{key}{\col} {meaning}{查看选项列表} {action}{option.List}}
- {{key}{\cod} {meaning}{开启/关闭调试模式} {action}{option.Toggle DebugLog}}
- {{key}{\coD} {meaning}{开启/关闭调试日志} {action}{option.Toggle DebugLogEcho}}
- {{key}{\coe} {meaning}{开启/关闭命令发送回显} {action}{option.Toggle EchoCommand}}
- {{key}{\cok} {meaning}{开启/关闭小键盘走路} {action}{option.Toggle KeypadWalk}}
- {{key}{\coK} {meaning}{开启/关闭屏幕虚拟键盘走路} {action}{option.Toggle ScreenKeypad}}
- };
- VAR {小键盘走路的功能映射表} {global-keypad-walking} {};
- #list {global-keypad-walking} create {
- {{key}{Up} {meaning}{向北,尽量靠下/上} {type}{dir} {args}{northdown;north;northup;up;northwest;northeast}}
- {{key}{Down} {meaning}{向南,尽量靠下/下} {type}{dir} {args}{southdown;south;southup;down;southwest;southeast}}
- {{key}{Left} {meaning}{向西,尽量靠下/出} {type}{dir} {args}{westdown;west;westup;out;northwest;southwest}}
- {{key}{Right} {meaning}{向东,尽量靠下/入} {type}{dir} {args}{eastdown;east;eastup;enter;northeast;southeast}}
- {{key}{ShiftUp} {meaning}{向北,尽量靠上} {type}{dir} {args}{northup;north}}
- {{key}{ShiftDown} {meaning}{向南,尽量靠上} {type}{dir} {args}{southup;south}}
- {{key}{ShiftLeft} {meaning}{向西,尽量靠上} {type}{dir} {args}{westup;west}}
- {{key}{ShiftRight} {meaning}{向东,尽量靠上} {type}{dir} {args}{eastup;east}}
- {{key}{Home} {meaning}{向西北/西上/北上} {type}{dir} {args}{northwest;westup;northup}}
- {{key}{End} {meaning}{向西南/西下/南上} {type}{dir} {args}{southwest;westdown;southup}}
- {{key}{PageUp} {meaning}{向东北/东上/北下} {type}{dir} {args}{northeast;eastup;northdown}}
- {{key}{PageDown} {meaning}{向东南/东下/南下} {type}{dir} {args}{southeast;eastdown;southdown}}
- {{key}{Center} {meaning}{查看房间} {type}{cmd} {args}{look}}
- };
- VAR {HP摘要刷新时机,三选一:{总是|从不|自动}} char.HPSummarize.Echo {自动};
- VAR {HP摘要配色表} char.HPSummarize.Theme {
- {色卡} {<218>;15;<118>;30;<238>;60;<138>;90;<128>;101;<168>}
- {前景} {
- {平常} {<168>}
- {战斗} {<118>}
- {战安} {<128>}
- {战危} {<118>}
- {战忙} {<138>}
- {危急} {<158>}
- {正忙} {<138>}
- }
- {背景} {
- {平常} {<099>}
- {战斗} {<B00A>}
- {战安} {<B040>}
- {战危} {<B600>}
- {战忙} {<B808>}
- {危急} {<BA00>}
- {正忙} {<B330>}
- }
- };
|