MCPcopy
hub / github.com/micro-editor/micro / BufUnmap

Function BufUnmap

internal/action/bufpane.go:191–199  ·  view source on GitHub ↗

BufUnmap unmaps a key or mouse event from any action

(k Event)

Source from the content-addressed store, hash-verified

189
190// BufUnmap unmaps a key or mouse event from any action
191func BufUnmap(k Event) {
192 // TODO
193 // delete(BufKeyBindings, k)
194 //
195 // switch e := k.(type) {
196 // case MouseEvent:
197 // delete(BufMouseBindings, e)
198 // }
199}
200
201// The BufPane connects the buffer and the window
202// It provides a cursor (or multiple) and defines a set of actions

Callers 1

UnbindKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected