一些VSCode Keybindings在Ubuntu中不起作用

时间:2015-11-10 18:00:06

标签: ubuntu visual-studio-code

我刚开始在Ubuntu上使用VSCode,并且正在寻找Mac上Sublime中相当于cmd+shift+D的内容(重复所选文本)。根据{{​​3}},我应该使用Ctrl+Shift+Alt+DownCtrl+Shift+Alt+Up,但这些键绑定对我不起作用。当我查看File > Preferences > Keyboard Shortcuts时,我看到了定义,但是当我尝试使用它们时,没有任何反应。

1 个答案:

答案 0 :(得分:0)

在检查默认键绑定后,我发现 editor.action.insertCursorAbove editor.action.insertCursorDown 每个都有两个键绑定 ctrl + shift +上/下 alt + shift +上/下

所以我将 editor.action.copyLinesDownAction editor.action.copyLinesUpAction 更改为 ctrl + shift + up ctrl + shift + down 。因为在我的ubuntu系统中, ctrl + shift + alt +上/下键正在切换工作空间。