smartchr

Insert several candidates with a single key

aki77

174

3

0.3.4

MIT

GitHub

smartchr package

Insert several candidates with a single key Build Status

A screenshot of your package

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: [' || ', '|']
      }
    ]