Insert several candidates with a single key.
- Vim https://www.vim.org/scripts/script.php?script_id=2290
- Emacs https://github.com/imakado/emacs-smartchr
- DEMO Video(Emacs) - https://vimeo.com/7832017
smartchr.definitions
: smartchr keybinding definitions (JSON)- property (language ID) :
- property (key text) : array of toggle patterns
!!
indicates the cursor insertion position
- property (key text) : array of toggle patterns
- property (language ID) :
Example:
"smartchr.definitions": {
"javascript": {
"F": ["F","$","$(!!)"],
">": [">","ev => {!!}",">>"],
"L": ["L","let ","LL"],
},
"go": {
":" : [":", " := ", "::"]
}
}