본문 바로가기

Information

vscode(visual studio code) 멀티 커서 단축키


그래도 지금까지 작업하기에는 Intellj가 좋지만.. 서브라임텍스트 말고 다른걸 찾던중 vscode를 찾았습니다.



서브라임에서 가장 많이 사용했던 멀티커서 사용법...


Multi cursor improvements
Ctrl+D selects next occurrence of word under cursor or of the current selection
Ctrl+K Ctrl+D moves last added cursor to next occurrence of word under cursor or of the current selection
The commands use matchCase by default. If the find widget is open, then the find widget settings (matchCase / matchWholeWord) will be used for determining the next occurrence
Ctrl+U undoes the last cursor action, so if you added a cursor too many or made a mistake, you can press Ctrl+U to go back to the previous cursor state. Adding cursor up or down (Ctrl+Alt+Up / Ctrl+Alt+Down) now reveals the last added cursor to make it easier to work with multiple cursors on more than 1 viewport height at a time (i.e. select 300 lines and only 80 fit in the viewport).