Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.

プログラミングや音楽に興味があります。いまはkbinのソースやActivityPubの仕様を読んだりしています。

  • 8 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle

  • I don’t know why the motion didn’t work in Evil mode, but if the goal is deleting all invisible Unicode characters, I’d write a command like this:

    (defun my/delete-invisibles-in-region (start end)
      "Delete invisible characters in the region specified with START and END."
      (interactive "r")
      (save-excursion
        (replace-regexp "\u200B\\|\u200C" "" nil start end))
        ;; (query-replace-regexp "\u200B\\|\u200C" "" nil start end))
      (deactivate-mark))