   (eq emc-running-command t))
 
 ;; TODO: find motions interfere with the cursors commands (especially insert f)
-;; TODO: abort comand hooks functinality if (evil-emacs-state-p)
+;; TODO: abort command hooks functinality if (evil-emacs-state-p)
 
 ;; TODO: make delete char work
 ;; (evil-delete-char (1- (point)) (point))

        (emc-clear-this-command)
        (emc-set-this-command cmd)
        (emc-set-last-command last-command)
        (emc-append-this-comand-keys (this-command-keys-vector))))))

;; TODO: use the advice below in the absence of evil-snipe-mode but not if it is enabled
(defun emc-record-key-sequence (prompt &optional continue-echo dont-downcase-last

        (normalized-last (emc-normalize-keys last)))
    (remove-duplicates (append normalized-keys normalized-raw normalized-last) :from-end t)))

(defun emc-set-this-command-keys (new-keys)
  "Adds NEW-KEYS to the current command."
  (let* ((this (emc-get-this-command))
         (last (emc-get-last-command))
         (keys (emc-normalize-keys new-keys)))
    (emc-set-command-info this last keys)))

(defun emc-append-this-command-keys (new-keys)
  "Adds NEW-KEYS to the current command."
  (let* ((this (emc-get-this-command))
         (last (emc-get-last-command))
         (keys (emc-get-this-command-keys))
