zoukankan      html  css  js  c++  java
  • sublime 配置解决在mac上使用home和end按钮失效

    普通windows键盘,习惯了Home键是跳到行首,End键是跳到行尾。

    修改方法:

    Preferences->Key Bindings

    在右侧User那边,添加上如下几行配置

    { "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false}},

    { "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} },

    保存后就能生效了

    补充:

    还可以加上这两行配置,实现按住shift后 配合home end的选中功能

    { "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true}},

    { "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
    ————————————————

  • 相关阅读:
    代码大全2阅读笔记之最后总结
    web商品系统最终版
    web商品系统
    期末总结
    2020/12/13
    2020/12/12
    2020/12/11
    2020/12/10
    2020/12/09
    2020/12/08
  • 原文地址:https://www.cnblogs.com/ianlab/p/12618150.html
Copyright © 2011-2022 走看看