How to use shift+alt+arrow-down for copy the selected lines just under the selected lines in Visual Studio Code

Viewed 4271

Previously I used Windows 10 operating system. I am a beginner and I am learning HTML, CSS. I used Visual Studio Code on Windows 10. There I used the shift + alt + arrow-down key to duplicate some selected lines just under the selected lines. I recently shifted to Ubuntu and the shift + alt + arrow-down key is not working like windows. It is not duplicating the selected lines.

How can I make these keys working like windows or is there any other key to do the same work?

Help me, please.

1 Answers

For Linux:

Ctrl+Shift+Alt+Down and Ctrl+Shift+Alt+Up

You Might need to use numpad Down and Up for Linux

You can also go to: File > Preferences > Keyboard Shortcuts. and search for: Copy Line Down or Copy Line Up, change the keyboard shortcut for this command by right clicking on the command and selecting Change Keybinding

Related