BufUnmap unmaps a key or mouse event from any action
(k Event)
| 189 | |
| 190 | // BufUnmap unmaps a key or mouse event from any action |
| 191 | func 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 |