forked from govim/govim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.go
110 lines (107 loc) · 5.46 KB
/
event.go
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package govim
type Pattern string
type Patterns []Pattern
type Event uint
type Events []Event
const (
EventBufNewFile Event = iota // BufNewFile
EventBufReadPre // BufReadPre
EventBufRead // BufRead
EventBufReadPost // BufReadPost
EventBufReadCmd // BufReadCmd
EventFileReadPre // FileReadPre
EventFileReadPost // FileReadPost
EventFileReadCmd // FileReadCmd
EventFilterReadPre // FilterReadPre
EventFilterReadPost // FilterReadPost
EventStdinReadPre // StdinReadPre
EventStdinReadPost // StdinReadPost
EventBufWrite // BufWrite
EventBufWritePre // BufWritePre
EventBufWritePost // BufWritePost
EventBufWriteCmd // BufWriteCmd
EventFileWritePre // FileWritePre
EventFileWritePost // FileWritePost
EventFileWriteCmd // FileWriteCmd
EventFileAppendPre // FileAppendPre
EventFileAppendPost // FileAppendPost
EventFileAppendCmd // FileAppendCmd
EventFilterWritePre // FilterWritePre
EventFilterWritePost // FilterWritePost
EventBufAdd // BufAdd
EventBufCreate // BufCreate
EventBufDelete // BufDelete
EventBufWipeout // BufWipeout
EventTerminalOpen // TerminalOpen
EventBufFilePre // BufFilePre
EventBufFilePost // BufFilePost
EventBufEnter // BufEnter
EventBufLeave // BufLeave
EventBufWinEnter // BufWinEnter
EventBufWinLeave // BufWinLeave
EventBufUnload // BufUnload
EventBufHidden // BufHidden
EventBufNew // BufNew
EventSwapExists // SwapExists
EventFileType // FileType
EventSyntax // Syntax
EventEncodingChanged // EncodingChanged
EventTermChanged // TermChanged
EventOptionSet // OptionSet
EventVimEnter // VimEnter
EventGUIEnter // GUIEnter
EventGUIFailed // GUIFailed
EventTermResponse // TermResponse
EventQuitPre // QuitPre
EventExitPre // ExitPre
EventVimLeavePre // VimLeavePre
EventVimLeave // VimLeave
EventFileChangedShell // FileChangedShell
EventFileChangedShellPost // FileChangedShellPost
EventFileChangedRO // FileChangedRO
EventDiffUpdated // DiffUpdated
EventDirChanged // DirChanged
EventShellCmdPost // ShellCmdPost
EventShellFilterPost // ShellFilterPost
EventCmdUndefined // CmdUndefined
EventFuncUndefined // FuncUndefined
EventSpellFileMissing // SpellFileMissing
EventSourcePre // SourcePre
EventSourcePost // SourcePost
EventSourceCmd // SourceCmd
EventVimResized // VimResized
EventFocusGained // FocusGained
EventFocusLost // FocusLost
EventCursorHold // CursorHold
EventCursorHoldI // CursorHoldI
EventCursorMoved // CursorMoved
EventCursorMovedI // CursorMovedI
EventWinNew // WinNew
EventTabNew // TabNew
EventTabClosed // TabClosed
EventWinEnter // WinEnter
EventWinLeave // WinLeave
EventTabEnter // TabEnter
EventTabLeave // TabLeave
EventCmdwinEnter // CmdwinEnter
EventCmdwinLeave // CmdwinLeave
EventCmdlineChanged // CmdlineChanged
EventCmdlineEnter // CmdlineEnter
EventCmdlineLeave // CmdlineLeave
EventInsertEnter // InsertEnter
EventInsertChange // InsertChange
EventInsertLeave // InsertLeave
EventInsertCharPre // InsertCharPre
EventTextChanged // TextChanged
EventTextChangedI // TextChangedI
EventTextChangedP // TextChangedP
EventTextYankPost // TextYankPost
EventColorSchemePre // ColorSchemePre
EventColorScheme // ColorScheme
EventRemoteReply // RemoteReply
EventQuickFixCmdPre // QuickFixCmdPre
EventQuickFixCmdPost // QuickFixCmdPost
EventSessionLoadPost // SessionLoadPost
EventMenuPopup // MenuPopup
EventCompleteDone // CompleteDone
)