+isNewFuzzyFinder = require('./fuzzy-finder-version-satisfied');
 module.exports =
   config:
     maxFilesToRemember:


  createRecentFilesView: ->
    unless @recentFilesView?
      RecentFilesView = if require('./fuzzy-finder-version-satisfied')
        require './recent-files-view'
      else
        require './recent-files-view-old'

    atom.commands.add 'atom-workspace', {
      'recent-files-fuzzy-finder:toggle-finder': => @createRecentFilesView().toggle()
      'recent-files-fuzzy-finder:remove-closed-files': => @recentFiles.removeClosed()
      'recent-files-fuzzy-finder:select-next-item': => if isNewFuzzyFinder then @createRecentFilesView().selectListView.selectNext() else @createRecentFilesView().selectNextItemView()
      'recent-files-fuzzy-finder:confirm-selection': => if isNewFuzzyFinder then @createRecentFilesView().selectListView.confirmSelection() else @createRecentFilesView().confirmSelection()
    }

  createRecentFiles: (state) ->
