LinuxMint下禁用按键

Menu->Control Center->Windows->Behaviour中选择Movement Key中的Super.

安装VS code

VSCode

开启列编辑

打开vscode. File->Preferences->Keyboard Shortcuts,在Keybindings.json中添加:

// Place your key bindings in this file to overwrite the defaults
[
    {
        "key": "shift+alt+down",
        "command": "cursorColumnSelectDown",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+alt+left",
        "command": "cursorColumnSelectLeft",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+alt+pagedown",
        "command": "cursorColumnSelectPageDown",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+alt+pageup",
        "command": "cursorColumnSelectPageUp",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+alt+right",
        "command": "cursorColumnSelectRight",
        "when": "editorTextFocus"
    },
    {
        "key": "shift+alt+up",
        "command": "cursorColumnSelectUp",
        "when": "editorTextFocus"
    }
]

使用的插件


## 发现自带的 Seti 就已经非常 nice 了.也可以不安装下面这个图标主题了.
ext install vscode-icons
-- angular 支持
ext install language-vscode-javascript-angular2
-- 目录和文件名补全
ext install christian-kohler.path-intellisense
-- 自动关闭标签
ext install formulahendry.auto-close-tag
-- 格式化js/css
ext install vscode-JS-CSS-HTML-formatter

ext install ecmel.vscode-html-css 
ext install html-css-class-completion

ext install code-runner

-- 大小写切换
ext install change-case

常用的配置

user settings:

bas

-- 自动换行
{
    "editor.wrappingColumn": 0
}

光标的移动

对称匹配符之间的移动(括号,大括号,中括号等)

⇧⌘\

将当前光标所在的字符串进行多光标编辑

将光标移动到你所想进行文件中的所有与当前光标所在字符串相同的进行多光标编辑

⇧⌘L