Unsafe behavior when typing /repo

Steps to reproduce

  1. Create new note in Live Preview or Source mode
  2. Type /repo and hit enter

Expected result

I expect the text /repo to be included in the document.

Actual result

The document is erased and Obsidian closes because /repo matches with “Reload app without saving”


  • Operating system:

Windows 11

  • Debug info:
	Obsidian version: v1.1.16
	Installer version: v1.1.9
	Operating system: Windows 10 Pro 10.0.22621
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 5
	Plugins enabled: 5
		1: Meld Encrypt v2.0.3
		2: Linter v1.7.1
		3: Dynamic Table of Contents v0.0.27
		4: Highlightr v1.2.2
		5: Paste URL into selection v1.7.0

I don’t consider this a bug nor unsafe. I assume you enabled slashed commands and you are asking obsidian to run one of them.

Oh, I didn’t realize this was a togglable option. My bad.

I would like to see a confirmation anytime there’s a “quit without saving” action; that’s just good UX.

Not a bug, though.