我想綁定我的前進和後退鼠標按鈕(4,5)以在先前的光標位置之間跳轉。我有我的文件崇高的文本綁定鼠標按鈕以跳轉到光標
~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap
我的代碼是這樣
[
{
"button": "button4",
"command": "jump_back"
},
{
"button": "button5",
"command": "jump_forward"
}
]
我也曾嘗試
{
"button": "button5",
"modifiers" : [],
"command": "jump_forward"
}
即使
{
"button": "button5",
"modifiers" : ["alt"],
"command": "jump_forward"
}
但缺省下/上一個標籤總是使用設置。使用默認的崇高鍵綁定工作然而
"alt" + "-"
"shift" + "alt" + "-"
看看這個HTTP ://stackoverflow.com/questions/25085502/sublime-text-modifying-linux-mousemap-to-use-4th-mouse-button – Muhammet