smartchr package
Insert several candidates with a single key
Inspired by smartchr.el.
Settings
edit ~/.atom/config.cson
'.source.coffee':
'smartchr':
'chrs': [
{
chr: '=',
candidates: [' = ', ' == ', '=']
}
{
chr: '>',
candidates: [' -> ', ' => ', ' > ', ' >= ', '>']
}
{
chr: '<',
candidates: [' < ', ' <= ', '<']
}
{
chr: ',',
candidates: [', ', ',']
}
{
chr: '+',
candidates: [' + ', '+']
}
{
chr: '-',
candidates: [' - ', '-']
}
{
chr: '&',
candidates: [' && ', '&']
}
{
chr: '|',
candidates: [' || ', '|']
}
]