Happy
Happy

Reputation: 59

German quotation marks in Sublime Text

How can I configure Sublime Text, so that instead of:

"Hi there."

it writes

„Hi there.“

I tried to look in the settings, but could not find the relevant option. Nor did I find a language package or something related.

Upvotes: 0

Views: 75

Answers (1)

Dinko Pehar
Dinko Pehar

Reputation: 6061

You can map key combination to insert your snippet.

Go to Preferences -> Key Bindings and on Default.sublime-keymap - User (right one) add:

{ "keys": ["alt+2"], "command": "insert_snippet", "args": {"contents": "„$0“"} }

When you press Alt+2 it will insert „“ with cursor in between the quotes.

Upvotes: 1

Related Questions