Vim mode: Confirm dialog doesn't accept ZQ as answer

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  • Open the settings panel
  • In the Editor tab, scroll down to Vim key bindings
  • In the answer field, type in ZQ
  • Hit Let me enable Vim

Expected result

To have the popup Command is correct. Vim mode is enabled to appear and Vim mode to be enabled, like the answer :q! does.

Actual result

The popup Command is incorrect. Vim mode remains disabled to protect you appears, leaving Vim mode disabled.


  • Operating system: Arch Linux (on the stable channels)
  • Debug info:
	Obsidian version: v1.1.9
	Installer version: v1.1.9
	Operating system: #1 ZEN SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:59 +0000 6.1.1-zen1-1-zen
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on


Additional information

The numerous ways of quitting Vim are a meme, sure, but ZQ sounds reasonable enough for me to accept as well in there.