简体   繁体   中英

How would i create a second sidebar in Sublime text

What I want is to have a second sidebar that will show me three lines of the text of the file, which will save me having to open it.

This is a feature that Evernote has:

Evernote片段功能

The area pointing to "snippets" is the feature that i want. I would find it so helpful if Sublime had this.

I have searched and I am fairly sure this doesnt exist. So I am wanting to make it myself. So here are my questions;

  1. Which file ultimately governs the existence of the existing sidebar?
  2. Would this be a package or a plugin? (Im guessing package), and if it is a package, would it be default or user?
  3. Is it actually possible to have a second sidebar (or similar), and if so how can i get it to sit to the right of the existing sidebar?

Any other advice on how to go about creating this would be much appreciated. Thank you.

I'm not sure if creating another sidebar is possible nor have I seen any package to do so.

On the other hand, you can do alt+shift+2(set_layout) I don't know what the buttons are for OSX. You can find it in Default keymap settings. You can copy that to user keymap, edit the arguments values and bind it to whatever keys you want.

What it will do, is create another window in sublime where you can open other tab with data you wish to have in there.

Example: 在此处输入图片说明

You can also use alt+shift+number, to create more than 2 windows with up to 4. If you wish to do the windows in horizontal position, you can use number 8 and number 9.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM