Sublime Forum

Is there a way to split window like emacs and vim?

#1

Is there a way to split window like emacs and vim?

2 Likes

#2

You can split the window in many ways just go to View -> Layout to see the available options and their keyboard shortcuts.

1 Like

#3

Yes, I see that. But they are fixed. Is there a way to split window just like emacs and vim? Split as many window as we want?

0 Likes

#4

Checkout the SplitScreen plugin:

sublime.wbond.net/packages/SplitScreen

It allows you to create your own split screen rations. It may enable you to do what you want.

0 Likes

#5

Sorry that I didn’t make myself clear. The style how window is splitted is still fixed. For example, ST provide 2, 3, 4 columns split, but not 5 column split. Is there a way to split the window in any way we want?

For example, we can split window like this in two steps in emacs, a vertical split and a horizontal split of the right window.

Can Sublime Text do that?

1 Like

#6

Yes, take a look at the origami plugin.

github.com/SublimeText/Origami

2 Likes

#7

Awesome! Thanks.

0 Likes

#8

Thanks skuroda! Took the words right outta my mouth :smile:

0 Likes

#9

Inspired by Origami and moving it further I have added emacs key bindings. I have been using it for a while now and works good for me.
Exactly as u split screen on your fav emacs, you can split, move etc… it on sublime as you do on emacs.

You can check the README ↓

packagecontrol.io/packages/OrigamiEmacs

0 Likes

#10

There is also Vintageous-Origami for VIM style key bindings.

1 Like