1

I've recently started using TexStudio and decided to change the default next placeholder shortcut from Ctrl+ to Ctrl+Tab. The change is correctly listed in the shortcuts configuration sub menu where it used to be Ctrl+ but the shortcut no longer works. I've tried restarting TexStudio since the change but that hasn't helped.

Do any TexStudio users know what could be causing this problem? I find the Ctrl+ shortcut quite frustrating so I'd really like to be able to change it if possible.

Thanks

2

You were pretty much in the right direction, but you were unhappy with your particular shortcut choice. Ctrl+Tab is a common shortcut to change the next open Tab (as Alt+Tab does for open Windows). I'm not sure if this is set within TeXstudio, or at the system level. But apparently, we cannot steal it from its original function (that's not quite true, see update below).

But you can choose another key combination, of course. I have my settings as (of course, what is pertinent here will depend on your keyboard layout):

Previous placeholder = Ctrl+>

Previous placeholder or character = "none"

Previous placeholder or one word left = "none"

Next placeholder = Ctrl+<

Next placeholder or character = "none"

Next placeholder or one word right = "none"

Now, if you, like me, are annoyed by this particular shortcut because it steals the very common behavior of Ctrl+Right/Left to navigate between words in the editor, you might also want to set:

Move cursor left (1 word) = Ctrl+Left

Move cursor right (1 word) = Ctrl+Right

Update: (courtesy of @Troy) As it turns out the shortcut Ctrl+Tab is indeed defined within TeXstudio as the additional shortcut for "Next document" (in "Menus" -> "View"). If you remove this additional shortcut for "Next document", you can then use it for "Next placeholder" instead, as you originally intended.

  • Btw, thank you for your question. I was haunted by this shortcut for some time, but hadn't stopped to fix it. – gusbrs Feb 20 '18 at 16:27
  • 1
    Nice +1. To add on, Ctrl+Tab is the additional shortcut for "Next document". Just deleting that shortcut map should do the trick as well I think? – Troy Feb 20 '18 at 16:41
  • @Troy, oh that was screaming at me and I couldn't find it! I did try! And even with your hint it still eluded me. Actually TS is somewhat clumsy in this particular configuration tab. It is indeed hard to know what is already taken. Well, short of expanding and reading the whole list. Thanks! – gusbrs Feb 20 '18 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.