Implement Caesar cipher (ROT13) Vim command (`g?`)

Use case or problem

I often want to obscure text in my notes without actually removing it.

For example, to hide spoilers for games and book notes where I want to keep the spoilers or answers in the note, but not have them be immediately readable.

Or when I’m sharing my screen or presenting my notes, I often need a quick way to temporarily hide sensitive information like certain project names, emails, or pieces of information I don’t want others to be able to read at a glance.

Proposed solution

Vim already has a built-in command for ROT13 encoding: g?. Adding this command to Obsidian would let us Vim users quickly and easily obfuscate text with a tool we’re familiar with.

Current workaround

My current workaround is quite clumsy and defeats the point of Vim but is the quickest way I have found to do it.

  1. Copy the text.
  2. Open CyberChef.
  3. Paste and encode the text.
  4. Copy the encoded text.
  5. Paste it back into Obsidian.

Related feature requests

None found.

Another workaround is the Garble Text community plugin, bound to a hotkey (there may also be others like it).