@@ -65,4 +65,7 @@
;; FIXME: not working
;; (match-content "te")
- (util/edit-block "{enter}")))
+ (util/edit-block "{enter}")
+
+ ;; Selection
+ (dorun (repeatedly 3 util/shift+up))))
@@ -24,6 +24,14 @@
[]
(.. cy (realPress #js ["Shift" "Tab"])))
+(defn shift+up
+ []
+ (.. cy (realPress #js ["Shift" "ArrowUp"])))
+(defn shift+down
+ (.. cy (realPress #js ["Shift" "ArrowDown"])))
(defn backspace
(edit-block "{backspace}"))