       @setShowInvisibles      @appStorage.getValue('showInvisibles')      ? no        , no
       @setFontSize            @appStorage.getValue('fontSize')            ? 12        , no
       @setTabSize             @appStorage.getValue('tabSize')             ? 4         , no
-      @setKeyboardHandler     @appStorage.getValue('keyboardHandler')     ? 'default'
-      @setScrollPastEnd       @appStorage.getValue('scrollPastEnd')       ? yes
+      @setKeyboardHandler     @appStorage.getValue('keyboardHandler')     ? 'default' , no
+      @setScrollPastEnd       @appStorage.getValue('scrollPastEnd')       ? yes       , no
       @setEnableAutocomplete  @appStorage.getValue('enableAutocomplete')  ? yes       , no
       @setEnableSnippets      @appStorage.getValue('enableSnippets')      ? yes       , no
       @setEnableEmmet         @appStorage.getValue('enableEmmet')         ? no        , no

    @appStorage.setValue 'showInvisibles', value


  setKeyboardHandler: (name = 'default') ->

    @appStorage.setValue 'keyboardHandler', name
    handler = if name isnt 'default' then "ace/keyboard/#{name}" else null
    @editor.setKeyboardHandler handler


  setScrollPastEnd: (value = yes) ->

    @editor.setOption 'scrollPastEnd', value
    @appStorage.setValue 'scrollPastEnd', value


  setFontSize: (value, save = yes) ->

    @setShortcuts yes

    @appStorage.fetchStorage (storage) =>
      @setTheme null, no
      @setUseSoftTabs         @appStorage.getValue('useSoftTabs')         ? yes       , no
      @setShowGutter          @appStorage.getValue('showGutter')          ? yes       , no
      @setUseWordWrap         @appStorage.getValue('useWordWrap')         ? no        , no
