【问题标题】:Shortcuts conflict between sublime text and textmate bundlesublime text 和 textmate bundle 之间的快捷方式冲突
【发布时间】:2014-06-26 21:33:59
【问题描述】:

我为mathematica 安装了sublime text 3 和这个包:https://github.com/dehowell/mathematica-tmbundle。

但是,当我在 Mathematica 模式下进行文本编辑时,我的快捷键冲突问题主要是三个命令,Documentation for Current Word (control + H)、Execute current statement / selection (shift + enter) 和Execute current document (command + R)。默认情况下,所有这 3 个快捷方式都已在 sublime 文本中采用。例如,(control + H) is replacement 在 sublime 中。

我尝试在 sublime 文本中修改用户键盘映射,但它不起作用。我认为正确的方法是修改发布在 GitHub 上的那个包。

谁能帮我解决这个问题?我想使用这个 textmate 包,因为 sublime text 的包真的很糟糕。

【问题讨论】:

    标签: wolfram-mathematica sublimetext2 keyboard-shortcuts textmate textmatebundles


    【解决方案1】:

    如果您在相应的 .tmCommand 文件中将 keyEquivalent 设置为另一个值,则可以更改快捷方式。

    “当前单词文档”的原始快捷方式可以在这一行找到:https://github.com/dehowell/mathematica-tmbundle/blob/master/Commands/Documentation%20for%20Current%20Word.tmCommand#L15

    语法很简单,只需使用设置任何字母/键并使用以下修饰符中的一个/两个/三个:^(控制)、~(选项)、@(命令)

    【讨论】:

      猜你喜欢
      • 2017-01-28
      • 2015-11-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-26
      • 2018-02-11
      相关资源
      最近更新 更多