Answers:
您需要在Linux中创建自定义鼠标映射,并添加定义Windows行为的相关绑定。在Sublime中,使用JSON语法和以下内容创建一个新文件:
[
// Mouse 3 column select
{
"button": "button3",
"press_command": "drag_select",
"press_args": {"by": "columns"}
},
{
"button": "button3", "modifiers": ["ctrl"],
"press_command": "drag_select",
"press_args": {"by": "columns", "additive": true}
},
{
"button": "button3", "modifiers": ["alt"],
"press_command": "drag_select",
"press_args": {"by": "columns", "subtractive": true}
}
]
然后,将文件另存为~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap
。您现在应该能够模仿Linux中的Windows中键功能。
笔记:
~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-mousemap
(请注意OSX
括号中的而不是Linux
)。