-
Notifications
You must be signed in to change notification settings - Fork 75
/
VimD.ahk
39 lines (34 loc) · 1015 Bytes
/
VimD.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#NoEnv
#SingleInstance, Force
#MaxHotkeysPerInterval 200
CoordMode, Tooltip, Screen
CoordMode, Mouse, Screen
CoordMode, Menu, Window
SetControlDelay, -1
SetKeyDelay, -1
; DetectHiddenWindows, On
FileEncoding, UTF-8
SendMode, Input
Menu, Tray, Icon, %A_ScriptDir%\vimd.ico
Menu, Tray, NoStandard
Menu, Tray, Add, 热键 &K, <VimDConfig_Keymap>
Menu, Tray, Add, 插件 &P, <VimDConfig_Plugin>
Menu, Tray, Add, 配置 &C, <VimDConfig_EditConfig>
Menu, Tray, Add,
Menu, Tray, Add, 禁用 &S, <Suspend>
Menu, Tray, Add, 重启 &R, <Reload>
Menu, Tray, Add, 退出 &X, <Exit>
Menu, Tray, Default, 热键 &K
Menu, Tray, Click, 1
VimdRun()
return
#Include %A_ScriptDir%\core\Main.ahk
#Include %A_ScriptDir%\core\Vim.ahk
#Include %A_ScriptDir%\core\VimDConfig.ahk
#Include %A_ScriptDir%\lib\EasyIni.ahk
#Include %A_ScriptDir%\lib\Acc.ahk
#Include %A_ScriptDir%\lib\GDIP.ahk
#Include %A_ScriptDir%\lib\Logger.ahk
#Include %A_ScriptDir%\plugins\Plugins.ahk
; 用户自定义配置
#Include *i %A_ScriptDir%\custom.ahk