Move cursor on middle button paste in Sublime Text 3

你离开我真会死。 提交于 2019-12-04 02:00:45

Just found a fix, it's actually super easy.

Just create a file named Default (Linux).sublime-mousemap with the following content:

[
    {
        "button": "button3",
        "press_command": "drag_select",
        "command": "paste_selection_clipboard"
    }
]

And save it in your Packages/User/ folder (in my case: /home/boris/.config/sublime-text-3/Packages/User/). That's it.

Explanation: the default mousemap does not have the line "press_command": "drag_select", which is the one telling Sublime to change the cursor position on click.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!