---
title: "Lua语言，Sublime自定义快捷键"
author: "yangkd548"
date: "2016-08-03T10:10:20Z"
tags: []
categories: ["编程语言"]
slug: "lua-sublime"
draft: false
lastmod: "2016-01-13T18:01:23Z"
id: 2270377
url: "https://yangkd548.iteye.com/blog/2270377"
---

设置Sublime自动提示功能，因为默认的ctrl+space跟系统输入法冲突。

可以在Key Buildings - User中增加

```
[
	{ "keys": ["alt+/"], "command":"auto_complete" },
	{ "keys": ["alt+/"], "command":"replace_completion_with_auto_complete", "context":
	[
		{ "key": "last_command", "operator":"equal", "operand": "insert_best_completion" },
		{ "key": "auto_complete_visible", "operator":"equal", "operand": false },
		{ "key": "setting.tab_completion", "operator":"equal", "operand": true }
		]
	},
]
```

 

 [sublime text3自定义快捷键](http://blog.csdn.net/ablipan/article/details/17138045)，参考 http://blog.csdn.net/ablipan/article/details/17138045