Sublime Forum

"toggle_location_bar" command invoked by Ctrl+K Ctrl+B does not work

#1

I have just shifted from the stable builds deb channel to the dev builds dev channel and now see that with build 2006, the toggle_location_bar command does do work via key bindings (it does work in the most recent stable build 1119).

Here is the relevant line of my “Default (Linux).sublime-keymap”.

    { "keys": ["ctrl+k", "ctrl+b"], "command": "toggle_location_bar" },
0 Likes

#2

So, accidentally, I find that deleting that line recovers the expected behaviour. I don’t see this described in the change log anywhere.

0 Likes

#3

… and it appears to be because the command is toggle_side_bar. It’s entirely unclear to me why it worked with 1119? Was toggle_location_bar an alias for toggle_side_bar?

0 Likes

#4

It changed from toggle_location_bar to toggle_side_bar in build 2000 due to the UI redesign.

Indicated in the release notes here:

  • New UI
  • UI: Reworked the sidebar for a better navigation flow
1 Like

#5

Edit: this works

Hi,

toggle_side_bar doesn’t work on Build version 2049 on a macOS Catalina (10.15)

[
    {
        "keys": ["ctrl+i"],
        "command": "toggle_side_bar" 
    }
]

I tried the following:

  • editing the Default (OSX).sublime-keymap file
  • saving the file and re-opening Sublime Merge.

Thanks,
Happy license owner :hugs:

0 Likes

#6

It works for me, please double check the filename & directory is correct.

2 Likes

#7

You’re right @srbs. I’m not sure what could have been.
I deleted the file and once Sublime Merge it re-created it and I added the same, it worked :tada:

0 Likes