   (define-key evil-normal-state-map (kbd "gsp") 'emc-skip-cursor-and-goto-prev-match)
   )
 
-;; TODO implement make/skip next prev based on pattern
-;; - emc-make-for-all-matches
-;;    - the cursor must not move
-;; - emc-make-for-next-match (must wrap)
-;; - emc-make-for-prev-match (must wrap)
-;; - emc-skip-for-next-match
-;; - emc-skip-for-prev-match
-
-;; (emc-make-cursors-for-all)
-;; (setq emc-pattern '("emc" nil))
-;; (emc-set-pattern)
-;; (emc-find-next 'forward nil)
-;; (emc-set-cursor-face '(emc-region-face))
-;; (emc-set-cursor-face nil)
-;; (emc-cursor-overlay-at-eol (point))
-;; (emc-cursor-overlay-inline (point))
+;; TODO handle visual
 
 (provide 'emc-cursor-make)
 

             (1+ (length emc-cursor-list))
             (emc-get-pattern-text))))

(evil-define-command emc-make-and-goto-first-cursor ()
  "Make a cursor at point and move point to the cursor with the lowest position."
  :repeat ignore

  :repeat ignore
  (interactive)
  (mapc 'emc-delete-cursor emc-cursor-list)
  (evil-exit-visual-state)
  (setq emc-cursor-list nil)
  (setq emc-pattern nil))

