[TW5] backticks for inline code - very bad usability on German keyboard layouts

567 views
Skip to first unread message

wis775

unread,
Jan 15, 2014, 2:19:26 PM1/15/14
to tiddl...@googlegroups.com
Hi,
I am using TWC for several years mostly for personal notes about programming, tasks and system configurations with a heavily usage of the code formatting tags.

Now, I tired out  TW5 and learned, that I have to use 3 backticks to format a code line. On an English keyboard layout, I am sure, that 3 backitcks are very easy to type. But on my German keyboard layout, I have to press the following key sequence to get just 3 backticks
  • SHIFT + backtick followed by space
  • SHIFT + backtick followed by space
  • SHIFT + backtick followed by space

I have to type 9 keys on my keyboard to get 3 simple backticks. :-(

So, is there any way to change this behavior or formatting text more easier as code?

thanks

Stefan


Ton Gerner

unread,
Jan 15, 2014, 4:09:54 PM1/15/14
to tiddl...@googlegroups.com
H i Stefan,

You can Stephan Hadrek's Code bookmarklet, see [1]

Cheers,

Ton

[1] http://tw5magick.tiddlyspot.com/

Stephan Hradek

unread,
Jan 16, 2014, 1:33:59 AM1/16/14
to tiddl...@googlegroups.com
Du übertreibst ;)

Just a hint… When I type a codeblock I press keep shift pressed and type 6 times `. Then I press 3 times cursor left and 1 time return. I end up with:

```
|```


where "|" marks the cursor position which is exactly where I need to enter the code.

Jeremy Ruston

unread,
Jan 16, 2014, 5:54:57 AM1/16/14
to TiddlyWiki
Hi Stefan

That's a nuisance about backticks on German keyboards. It's going to be hard to keep the "typability" of wikitext options when there is such a wide variety of keyboard layouts around the world.

I think the most general solution will be a way to define "keyboard macros": sequences of keypresses that can be summoned with a single (programmable) keypress. Until TW5 incorporates that feature you may be able to use external tools for your operating system. (The Mac, for example, has a built in text expansion tool: http://www.cultofmac.com/186679/instantly-type-handy-phrases-in-mountain-lion-with-text-expansion-os-x-tips/)

Best wishes

Jeremy



--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Stephan Hradek

unread,
Jan 16, 2014, 6:30:51 AM1/16/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Jeremy!

I don't think it's an issue at all. After all: Every colleague I had so far, who was serious about programming, used an US keyboard. Or switched his keyboard layout to US. I myself don't do as I'm already used to all the weird places where you find [] {} \ etc.

And then there is also the possibility to simply take the codeblock.js and change the "```" to anything one likes. Maybe something which isn't used now and difficult to type in on a non-german keyboard like Shift-e : § ;)

Stephan Hradek

unread,
Jan 16, 2014, 6:52:42 AM1/16/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Shift-3 it is. Not Shift-e

PMario

unread,
Jan 17, 2014, 10:58:27 AM1/17/14
to tiddl...@googlegroups.com
On Wednesday, January 15, 2014 8:19:26 PM UTC+1, wis775 wrote:
Did you try to press : SHIFT backtick backtick ? which imo should give you 2 backticks at once. ... You can change your OS keyboard handling, so every "backtick" gives you one backtick.

IMO typing SHIFT backticks on a german keyboard is much simpler and faster, than {{{ }}} since it needs to use 2 different the AltGr key + {} combinations. 

Which OS do you use?

-mario

wis775

unread,
Jan 22, 2014, 5:20:13 PM1/22/14
to tiddl...@googlegroups.com
Thanks for all the replies.

For my Fedora environment, the most "convenience" way to get 3 backticks are  6 times the backtick key (without SHIFT). This  sequence will give me 3 backticks.

But I agree with Jeremy, that the general solution would be, that TiddlyWiki would provide some keyboard macros.

As an alternative, I can change the the regex to any sequence i like.

Stefan

PMario

unread,
Jan 22, 2014, 8:28:27 PM1/22/14
to tiddl...@googlegroups.com
On Wednesday, January 22, 2014 11:20:13 PM UTC+1, wis775 wrote:
For my Fedora environment, the most "convenience" way to get 3 backticks are  6 times the backtick key (without SHIFT). This  sequence will give me 3 backticks.

I did have the same/similar problem with ubuntu's default keyboard settings.
For me the active keyboard layout was wrong. .. I'm using: "Deutsch (Österreich, ohne Akzentzeichen)" ... this one works perfectly!

Do you also have a problem with the tilde? ~   ... you may need to type it twice. ... same problem.

I could fix it adjusting the "Systemeinstellungen: Tastatur: Texteingabe: Belegungseinstellungen".

There are about 20 possibilities for germany, austria, switzerland

may be some hints.
mario

Leo Staley

unread,
Jan 23, 2014, 12:38:05 AM1/23/14
to tiddl...@googlegroups.com
If I may: AutoHotkey or AutoIt 3 are probably the two best windows apps for making macros for this sort of thing. for something as quick and easy as this, either of them should work

wis775

unread,
Jan 24, 2014, 4:22:17 PM1/24/14
to tiddl...@googlegroups.com
A very helpful hint.  The keyboard layout "German (dead acut)" works much better than "German (Austria)". Now, there is no difference in usability between {{{ and ``` :-)

Thanks a lot / Danke

Stefan
Reply all
Reply to author
Forward
0 new messages