Duplicate line in Visual Studio Code

后端 未结 13 1647
有刺的猬
有刺的猬 2020-12-22 23:25

I am trying to find the shortcut for duplicating a line in Visual Studio Code (I am using 1.3.1) I tried the obvious CTRL + D but that doesn\'t seem to

13条回答
  •  遥遥无期
    2020-12-22 23:44

    Update that may help Ubuntu users if they still want to use the and instead of another set of keys.

    I just installed a fresh version of VSCode on Ubuntu 18.04 LTS and I had duplicate commands for Add Cursor Above and Add Cursor Below

    Original Keybindings

    I just removed the bindings that used Ctrl and added my own with the following

    Copy Line Up

    Ctrl + Shift +

    Copy Line Down

    Ctrl + Shift +

    New Keybindings

提交回复
热议问题