     search: =>
         store = @get_store()
 
-        query = store.get('user_input').trim().replace(/"/g, '\\"')
+        query = store.user_input.trim().replace(/"/g, '\\"')
         if query is ''
             return
         search_query = '"' + query + '"'
 
         # generate the grep command for the given query with the given flags
-        if store.get('case_sensitive')
+        if store.case_sensitive
             ins = ''
         else
             ins = ' -i '
 
-        if store.get('subdirectories')
-            if store.get('hidden_files')
+        if store.subdirectories
+            if store.hidden_files
                 cmd = "rgrep -I -H --exclude-dir=.smc --exclude-dir=.snapshots #{ins} #{search_query} -- *"
             else
                 cmd = "rgrep -I -H --exclude-dir='.*' --exclude='.*' #{ins} #{search_query} -- *"
         else
-            if store.get('hidden_files')
+            if store.hidden_files
                 cmd = "grep -I -H #{ins} #{search_query} -- .* *"
             else
                 cmd = "grep -I -H #{ins} #{search_query} -- *"

    # Set the selected state of all files between the most_recent_file_click and the given file
    set_selected_file_range: (file, checked) =>
        store = @get_store()
        most_recent = store.get('most_recent_file_click')
        if not most_recent?
            # nothing had been clicked before, treat as normal click
            range = [file]
        else
            # get the range of files
            current_path = store.get('current_path')
            names = (misc.path_to_file(current_path, a.name) for a in store.displayed_listing.listing)
            range = misc.get_array_range(names, most_recent, file)


            search_error       : undefined
            command            : cmd
            most_recent_search : query
            most_recent_path   : store.current_path

        salvus_client.exec
            project_id      : @project_id
