    39 "right"
    40 "down"
    46 "del"
+   32 "space"
    186 ";"})
  
 (defn event-modifiers

      (dom/div nil
        (dom/h1 nil app-title)
        (apply dom/ul nil
          (om/build-all note-view (:notes app)
            {:init-state state}))
        (dom/ul nil
          (indent-element
            (dom/li nil (dom/input #js {:type "text" :ref "newNote"
              :placeholder "Enter note here..."
              :onKeyDown #(handle-new-note-keydown % app owner)
            })) (:tab app)
          )
          ;(dom/button #js {:onClick #(add-note app owner)} "Add note")
        )))))

(defn now [] (new js/Date))
(def custom-formatter (time-format/formatter "dd/MM/yyyy"))
(def app-title (str "Notes " (time-format/unparse custom-formatter (time-core/date-time (.getFullYear (now)) (+ 1 (.getMonth (now))) (.getDate (now))))))
(def app-state (atom {:entered [] :current { :tab 0 :title "" }}))

(defn note-view  [note owner]
  (reify
