---
title: "Sublime Text 2 Custom Layout"
author: "ieniac"
date: "2012-10-15T15:21:49Z"
tags: []
categories: ["非技术"]
slug: "sublime-text-2-custom-layout"
draft: false
lastmod: "2012-10-15T15:21:49Z"
id: 1698580
url: "https://ieniac.iteye.com/blog/1698580"
---

1\. Edit

 

```
Sublime Text 2\Data\Packages\Default\Main.sublime-menu
```

 

2\. add

 

```
{
	"caption" : "3p_1:2",
	"command": "set_layout",
	"args":
	{
		"cols": [0.0, 0.5, 1.0],
		"rows": [0.0, 0.5, 1.0],
		"cells":
		[
			[0, 0, 1, 2], [1, 0, 2, 1],
						  [1, 1, 2, 2]
		]
	}
}
```