     UNDERLINE:  { key: 'U',          metaKey: true }
 
   constructor: (@quill, options) ->
+    @options = _.defaults(options, Keyboard.DEFAULTS)
     @hotkeys = {}
     this._initListeners()
     this._initHotkeys()
     @quill.onModuleLoad('toolbar', (toolbar) =>
       @toolbar = toolbar
     )
+    if !@options.tabToIndent
+      delete @hotkeys[dom.KEYS.TAB]
 
   addHotkey: (hotkeys, callback) ->
     hotkeys = [hotkeys] unless Array.isArray(hotkeys)

    )
    this._initDeletes()
    this._initEnter()

  _initListeners: ->
    dom(@quill.root).on('keydown', (event) =>
      prevent = false



class Keyboard
  @DEFAULTS:
    'tabToIndent': true

  @hotkeys:
    BOLD:       { key: 'B',          metaKey: true }
    INDENT:     { key: dom.KEYS.TAB }
