How to use sidebar with the keyboard in Sublime Text 2 and 3?

前端 未结 13 1185
我寻月下人不归
我寻月下人不归 2021-01-29 17:57

When using Sublime Text 2 we tend to open the side bar to navigate thru files/folders in our projects. For that we can use the hotkey ctrl+k ctrl+b (i

13条回答
  •  广开言路
    2021-01-29 18:41

    Ctrl + 0 will focus on the side bar.
    Ctrl + 1 will focus on the editor in the 1st window.
    Ctrl + 2 will focus on the editor in the 2nd window etc.
    Sandeep made a great post about improving the keyboard shortcut toggling side bar on/off.
    Go to Preference->Key Binding and enter:

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

    save it and then press "ctrl+\" to toggle the sidebar.

    In Linux new keybindings are saved in ~/.config/sublime-text-3/Packages/User/'Default (Linux).sublime-keymap'.

提交回复
热议问题