s000100
Global Keymap
Liquid Text Editor should have a global keymap concept. Keys in this map should map to a function. If no other keymaps (local keymaps) override a given mapped key the function should be executed when the key combination is used.
It should be possible to remap a global key in runtime, by evaluating a piece of code. Like for example by evaluating: (editor/set-global-key :C-z editor/end-of-line)
If a key combination form the Global Keymap is pressed, and the same combination is defined in the currently active mode, the currently active mode wins and the function to execute is will be taken from that.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |