     #
     rangy.init()
 
+    # IDEA: cycle through snippets with directional shortcuts
+
+    # Houston.shortcuts.create "mod+[", (e) =>
+    #   e.preventDefault()
+    #   if @selectedSnippetIndex > 0
+    #     @selectedSnippetIndex--
+    #     @redrawSnippets()
+    #
+    # Houston.shortcuts.create "mod+]", (e) =>
+    #   e.preventDefault()
+    #   if @selectedSnippetIndex < @selectedConversations[0].snippets().length - 1
+    #     @selectedSnippetIndex++
+    #     @redrawSnippets()
+
     # Create a snippet
     Houston.shortcuts.create "mod+k mod+s", "Create snippet from selected text", (e) =>
       e.preventDefault()



  deleteConversations: (e)->
    e.preventDefault()
    ids = @selectedIds()
    imports = _.uniq(@conversations.get(id).get('import') for id in ids)
    if imports.length is 1 and imports[0]

      when KEY.DELETE
        return unless e.metaKey
        return unless _.all @selectedConversations, (conversation)=> conversation.get('permissions').destroy
        return unless @selectedConversations.length > 0
        e.preventDefault()
        @deleteConversations()

  keydownSearch: (e)->
    if e.keyCode is KEY.DOWN
