       content.push "- `#{param}`"
     atom.notifications.addWarning content.join("\n"), dismissable: true
 
-newProviderConfig = (otherProperties) ->
-  properties =
-    directionToOpen:
-      default: 'inherit'
-      enum: [
-        'inherit'
-        'right'
-        'right:never-use-previous-adjacent-pane'
-        'right:always-new-pane'
-        'down'
-        'down:never-use-previous-adjacent-pane'
-        'down:always-new-pane'
-      ]
-    caseSensitivityForNarrowQuery:
-      default: 'inherit'
-      enum: ['inherit', 'smartcase', 'sensitive', 'insensitive']
-    activateOnStart:
-      default: 'always'
-      enum: ['inherit', 'never', 'always', 'on-input']
-    negateNarrowQueryByEndingExclamation: false
-    autoPreview: true
-    autoPreviewOnQueryChange: true
-    closeOnConfirm: true
-    revealOnStartCondition:
-      default: 'always'
-      enum: ['inherit', 'never', 'always', 'on-input']
-
-  _.deepExtend(properties, otherProperties) if otherProperties?
-
-  return {
-    type: 'object'
-    properties: complimentField(properties, true)
-  }
-
-module.exports = new Settings 'narrow',
+globalSettings =
   autoShiftReadOnlyOnMoveToItemArea:
     default: true
     description: "When cursor moved to item area automatically change to read-only mode"
-
   directionToOpen:
     default: 'right'
     enum: [

  # skip if value which aleady have `type` field.
  # Also translate bare `boolean` value to {default: `boolean`} object
  for key in Object.keys(config)
    if typeof(config[key]) is 'boolean'
      config[key] = {default: config[key]}

    value = config[key]
    value.type = inferType(value.default) unless value.type?
    value.title ?= _.uncamelcase(key) if injectTitle

  # Inject order props to display orderd in setting-view

    startByDoubleClick:
      default: false
      description: """
        [Experimental]: start by dounble click.
        You can toggle this value by command `narrow:toggle-search-start-by-double-click`
        """
  )
  AtomScan: newProviderConfig(
    caseSensitivityForSearchTerm:
