我找不到灯台备忘单 [英] I can't find a light table cheat sheet

查看:15
本文介绍了我找不到灯台备忘单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有 LightTable 的备忘单,甚至更好的 paredit 插件,看来我的 google-fu 无法找到一个?

Does anyone have a cheatsheet for LightTable, even better for the paredit plugin, it seems my google-fu is not up to finding one?

推荐答案

我不认为 LightTable 的通用备忘单存在!但是对于 paredit 插件...我希望以下内容有所帮助

I don't think a general cheat sheet for LightTable exists yet! But for the paredit plugin...I hope the following helps

  • :paredit.unwrap.parent (a b (c | d) e) =>(a b c | d e)
  • :paredit.grow.left (a b (c | d) e) =>(a (b c | d))
  • :paredit.grow.right (a b (c | d) e) =>(a b (c | d e))
  • :paredit.shrink.left (a b (c | d) e) =>(a b c | (d) e)
  • :paredit.shrink.right (a b (c | d) e) =>(a b (c) | d e)
  • :paredit.move.up.forward (a b (c | d) e) =>(a b (c d)| e)
  • :paredit.move.up.backward (a b (c | d) e) =>(a b |(c d) e)
  • :paredit.move.down.forward (a b | (c d) e) =>(a b (|c d) e)
  • :paredit.move.down.backward (a b (c d) | e) =>(a b (c d|) e)

要绑定键,首先打开用户键映射(设置:用户键映射),然后为要在其中进行 paredit 绑定的编辑器添加绑定条目.

To bind the keys, first open user keymap (Settings: User Keymap), and then add binding entries in for the editors in which you want paredit bindings.

例如我在所有编辑器中都绑定了它们,所以我的键盘映射的相关位是:

e.g. I have them bound in all editors, so the relevant bit of my keymap is:

{:+ {:app { ...}
     :editor { ...
              "ctrl-shift-right" [:paredit.grow.right]
              "ctrl-shift-left" [:paredit.shrink.right]
              "ctrl-right" [:paredit.shrink.left]
              "ctrl-left" [:paredit.grow.left]}}
 :- {}}

这篇关于我找不到灯台备忘单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆