Drag to Create Rectangular Selection. Intellij key bindings in File Struture window. Press Alt Enter and select Open file in project. 1. For example, the key2. Double click on Comment with Line Comment. Use this tag when multiple cursors are important to the question's topic. Smart step into (Shift + F7) lets. dfasdflskladf dfasdflskladf. Yes i saw alt+shift+mb1, this will create multiple cursors, while in eclipse all you have to do is ctrl+shift and click anywhere and then just click delete and it will delete the whole selected text. Multiple cursors and selection ranges. - to restore single caret mode, use Esc. JetBrains製のIDEならほとんど対応しています。. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. Select/unselect the next occurrence: Alt + J / Shift + Alt + J ( Ctrl. In that dialog, I try to assign the back button of my mouse but without success. If you previously selected some text, then the commands work only in the selected text. idea directory. IntelliJ. It is not possible in Vim without special customization. . I use Column Selection Mode ( Cmd + Shift + 8 on Mac) which allows to create multiple cursors via Shift + Up or Shift + Down then edit all the lines together. If you want to have a continuous vertical line, it's enough to press Alt + drag your mouse vertically. @BadHorsie, that stupid mode probably has saved me hours of repetitive cut-pastes or RegEx find-replace sessions. Active Oldest Votes. This is the simplest problem you usually want to solve with multiple cursors. I prefer middle click and. I have a weak arm, that quickly gets tired when repeatedly having to move my hand to the mouse wheel for rapid up/down scrolling. As a result, you will have multiple selection ranges. Since IntelliJ IDEA 13, you can switch to Presentation Mode by clicking View → Enter Presentation Mode. Interestingly, if I double-click on the file in the project window, the cursor is placed. You can now change the virtual cursors + selection with visual mode commands. The editor consists of the following areas: The scrollbar shows errors and warnings in the current file. From this tutorial, you will learn to edit a few markup elements simultaneously using multiple carets. If you move your mouse horizontally at the same time, you’re doing selection. You can invoke context actions on the class or main method by using Alt+Enter and choose the Debug action. Alt + K (which would be similar to Find Next Ctrl + K ). 17. Alt Click and drag the mouse to make the selection. Also I did not have that issues on another computer where I used same version of IDEA, this is also confirms my suspicion about PC configuration itself contributed to this problem. You signed in with another tab or window. It's called vim-visual-multi in analogy with visual-block, but the plugin works mostly from normal mode. The IntelliJ IDEA editor is the main part of the IDE that you use to create, read and modify code. After that you simply have to type c to change the word and then components . Finding what you need in thousands of lines of code across multiple documents is no easy task when done manually and is a bit like finding a needle in a haystack of code. Adds a cursor on the previous/next line. You can use Help | Find Action ( Ctrl + Shift + A or Cmd + Shift + A on Mac) to see all the actions and their shortcuts. Do one of the following: Successively press Alt + J to find and select the next occurrence of case-sensitively matching word or text range. Up to Marco Codes - Building a Text Editor. In the editor, press Control+Alt+Insert to add a class, file, or package. In sublime you can select a part of text or even whole text by Ctrl+A and tap Ctrl+Shift+L will split your selection into multi cursor, it is especially useful when you deal with a big selection, and it's a bit horribly to select it by Mouse3 dragging. Shift + ↑ does not start a block selection - it seems to page the cursor up and down the screen. multiple cursor in intellij. Edit the width attribute in a few places. vim-multiple-cursors (broken autocompletion, history) Changing a word at n positions. x. Multiple cursors feature has been introduced also to IntelliJ Idea in version 13. e. Open the Settings dialog box (File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for macOS), and click General under the Editor node. This action is then reflected in each and every line of the block of text just like you would use multiple cursors in an IDE like VS Code. IntelliJ. Of course it´s a bit more complicated than just pressing Ctrl + D in. In sublime you can select a part of text or even whole text by Ctrl+A and tap Ctrl+Shift+L will split your selection into multi cursor, it is especially useful when you deal with a big selection, and it's a bit horribly to select it by Mouse3 dragging. Note that you can assign preferred. Use this tag when multiple cursors are important to the question's topic. g. The problem was fixed just by expanding the window and then maximizing it back to its size, using the window buttons on title bar. Install Intellij IDEA with version >= 2021. 2. Alt Click and drag the mouse to make the selection. Best. There is also Navigate | Last Edit Location, but will navigate you to the last place you've edited, not just viewed. :-) 13. To add or remove multiple carets, you can also press and hold the Alt key, then click at the next location of the caret. The problem was fixed just by expanding the window and then maximizing it back to its size, using the window buttons on title bar. If you want to create 'long' multiple cursor you can set shortcuts for 'Clone Caret Below' and 'Clone Caret Above' with keyboard. Press Ctrl 0F or select Edit | Find | Find. This is possible with PHPStrom ?IntelliJ IDEA creates a new public static final constant at the start of our class: public static final int NUMBER_OF_DAYS_IN_A_YEAR = 365; IntelliJ IDEA also replaces the original line of code with the new constant: System. To remove selection from the last selected occurrence, press Alt + Shift + J. The shortcut is: ⇧ + ⌘ + 8 on Mac. Select multiple occurrences and edit them. As a result, you will have multiple selection ranges. 6 votes. Once you need an unloaded module again, you can load it, so it is available to IDEA. 1 introduces Sublime style multiple selections, the top voted editor feature in our tracker! Here is how they work: Add/remove a selection: Alt + Shift + Mouse Click. The shortcut is: ⇧ + ⌘ + 8 on Mac. Try to set cursor on variable and use shortcut Shift-F6 - after that there are dialog frame for change name of variable and it changes all occurences of variable to setted name. Elena Pogorelova. Open "Preferences", select "Keymap" and search for "Comment with Line Comment", and set the hotkey to whatever you want. You can cleverly get three cursors on the variable names, CTRL arrow over to start of strings, hold SHIFT + END, and then move the cursor back using the arrow keys. There is a feature where multiple cursors ("carets"?) will appear when I middle mouse click and drag. Alt Click and drag the mouse to make the selection. Note that you can assign preferred shortcuts to 'Clone Caret Above/Below' actions in Preferences | Keymap if double-Alt doesn't work for you for some reason. 101. Press Ctrl Shift 0A, find and run the Edit Configurations action. Regards. 1. Type mca ( m ulti c ursor a dd) to add (or remove) a virtual caret. Also read: Know your IDE: IntelliJ IDEA (part 2) – Navigate Through the Project With Use of Keyboard. Another way it to press Ctrl (Lin/Win) or ⌥ (macOS) twice then hold down and move up/down, that could be useful for items that are aligned. On the General page that opens, select the Highlight usages of element at caret check box in the Highlight on Caret Movement area. Intellij Idea calls this multiselection. Put your cursor on the first line, then press & hold Option + Shift (on a. 1, if you need to edit a document in the same way in several places, you can save efforts by using multiple selections feature. Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. To exit the mode again, just right-click in the editor and select Column Selection Mode (which will have a check mark in front of it). The option to change this is called "Maximum number of contents to keep. If you want to organize the imports use Ctrl+Alt+O, to execute all the formatting features just use Ctrl+Shift+Alt+T. When there are two or more simultaneous cursors, they are called multiple cursors. Here are some general points: Double clicking an identifier (or a word in a string literal) will select it. WebStorm finds and. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. I'm working on two files simultaneously in the split mode and I would love to know how can I have multiple cursors in two different files simultaneously? *Shift + Alt + clicking somewhere works only in one file( I want to navigate in two)IDK how GH Copilot plugin works internally and what API it uses to show and insert completion suggestions. The problem was the ideaVim intellij plugin. Alternatively, you can press Alt 0↓ to see the list of. MacOS and Windows Support. To do so, type ‘main’ and either press Tab or hit the Enter key to replace it with the main method. Hello, You may remove "Middle Click" shortcut from "Create rectangular selection on mouse drag" in "Settings/Preferences | Keymap". ; It will work the same as. The effect is the same as Alt + Shif + Down Arrow shortcut of VSCode. What I usually do is to hit the Home key, and then either:. IntelliJ IDEA provides multi collumn selection (ALT + J selects additional occurance of selected word) – Disper. I want to edit multiple lines in eclipse, but I can't find any short cut or Plugin. Use this tag when multiple cursors are important to the question's topic. ) 0. All you need to. Published. Usage. For more information about adding and editing code, refer to Write and edit source code. Alt Click and drag the mouse to make the selection. Sorted by: 36. Several useful shortcuts for the multiple carets: - p ress Alt+Shift and select the caret locations with the mouse - or press Ctrl+G to add the next occurrence of the current word to the selection - to delete from the selection, press Ctrl+Shift+G. 1 introduces Sublime style multiple selections, the top voted editor feature in our tracker! Please refer to the Official Announcement for details and examples of how it works. With a soft-wrapped line, this only moves to the soft wrap. But if you want to create multiple cursors which appear in multiple places, I can’t understand how you will find places for your cursors. Cursor should go back to normal. 1 RC1 Follow. Sorted by: 3. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"cover","path":"cover","contentType":"directory"},{"name":"images","path":"images. Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. I suggest not to do it in the second case because resulting interface would. The IntelliJ IDEA editor is the main part of the IDE that you use to create, read and modify code. g. IntelliJ IDEA shows a suggests a variable for us, and if we select it and type a dot we get the Basic Completion list of methods we could call. Press Ctrl + Alt + Shift + J to select all case-sensitively matching words or text ranges in the document. The Terminal saves tabs and sessions when you close the project or IntelliJ IDEA. Reload to refresh your session. Modified 5 months ago. Multiple cursors and selection ranges. We can use IntelliJ IDEA’s. Ctrl Alt 0S. IntelliJ IDEA supports having multiple cursors at once, meaning you can type and edit at multiple locations at the same time. " [ 🖥️ Display ]"-------------------" 無駄. To run a Java application packaged in a JAR, IntelliJ IDEA allows you to create a dedicated run configuration. Share. They allow you to type the same text at multiple places at the same time. Alt Click and drag the mouse to make the selection. I'm working on two files simultaneously in the split mode and I would love to know how can I have multiple cursors in two different files simultaneously? *Shift + Alt + clicking somewhere works only in one file( I want to navigate in two)vim-visual-multi. This plugin adds three main commands in normal mode <ALT-n>: Start multi cursor mode, select the current word, or select the next. The IDE switches to full screen and everything is hidden except for the main editor window. Second and probably more important (as you may have already guessed from the title), is that IntelliJ IDEA 13. •. However, undo and redo will not work intuitively in Live Preview – actions will be handled individually for each cursor, rather than grouped together. There is also Navigate | Last Edit Location, but will navigate you to the last place you've edited, not just viewed. Comment actions. Type mc ( m ulti c ursor) and a vim command to create cursors. This is finally available! IntelliJ IDEA 13. vladmashk • 3 yr. Select/unselect the next occurrence: Alt + J / Shift + Alt + J (Ctrl + G / Shift + Ctrl +G for Mac OS X) Select all occurrences: Shift + Ctrl + Alt + J (Ctrl + Cmd + G for Mac OS X) Pycharm Edit Multiple Lines. To add or remove multiple carets, you can also press and hold the Alt key, then click at the next location of the caret. out. IntelliJ Idea has a very cool feature of changing multiple lines simultaneously. Modified 3 years, 2 months ago. . Probably not 100% solution but you can try to use touchpad scrolling while holding the SHIFT button. Multiple cursors. Alt Click and drag the mouse to make the selection. Looks like in my case it was somehow related to Nvidia drivers, when I updated to latest drivers from nvidia site problem just disappeared. If you have a problem with organisation of the code you can use Ctrl+Alt+L to format the code. For the commands above we assume that you selected at least one character, if you just place your cursor somewhere the [tab. Besides standard settings that you frequently use, IntelliJ IDEA offers various advanced options that you can use to fine-tune the behavior of the specific product functionality. The first one is using Settings Repositories. If you need to undo or redo your changes, press Ctrl+Z / Ctrl+Shift+Z respectively. In the Mouse Shortcut dialog, move the mouse pointer to the central area and click or scroll as necessary. See full list on vojtechruzicka. I cannot hold down these keys to move my cursor. Put your cursor on the first line, then press & hold Option + Shift (on a Mac. Here you use Alt+Shift+Insert (or whatever shortcut you have for "Edit | Column Selection Mode") to enter or exit Column Selection Mode where you can make rectangular selections with simple Shift+Arrows. Select first occurrence of "id_ with Shift + → x4. Skov555. Add a template description, for example, New Angular component. 101; asked Dec 15, 2018 at 18:26. IntelliJ IDE features for better writing Multiple cursors Multiple cursors Last modified: 20 September 2023 Change the width for a few images using multiple. As a result, you will have multiple selection ranges. Formatting and cleaning. Another way to get multiple cursors in a file is to add. When typing, copying, or pasting in IntelliJ IDEA editor, you can toggle multiple cursors so that your actions apply in several places simultaneously. 4. Tips Tutorials Playlists Technologies Topics About. my line das my line asd my line sda my line poi my line uio my line kjy And I want to have them automatically numbered like this . Go to the Keymap section of your preferences and add your keyboard shortcut to the Toggle Insert/Override command. You can cleverly get three cursors on the variable names, CTRL arrow over to start of strings, hold SHIFT + END, and then move the cursor back using the arrow keys. 2 answers. 3 EAP 2 introduces a new Run to Cursor inlay option that offers a quick way to navigate to a specific line of code while debugging. xml to make the plugin available in all IDEA builds since 2019. olitv • 3 yr. with Jetbrains' absolutely awesome IntelliJ IDEA IDE. You may also want to allow placement of caret after the end of line or inside tabs. Quickly find any file, action, symbol, tool window, or setting in IntelliJ IDEA, in your project, and in. 2 (build 192). 8. 1. } Is there a way to tell IntelliJ to place the cursor inside of the method body after expanding the live template?Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 16 more. This is working on Mac IntelliJ 2016. I understand this might be a bit off-topic, but here's the thing: while working on a study project, I wrote the code for a desktop application called "Text Editor" which has a user interface built with Swing. You could also go to normal mode by pressing v and use normal commands there. Click OK to save the shortcut. We've edited a few image elements simultaneously using multiple carets in this tutorial. The first line in a Document and the first character in each line are assigned the zero position. Cross-IDE support for Eclipse, IntelliJ, and VS Code provides the flexibility lacking in other. You can edit multiple lines by pressing Ctrl twice, holding it,. This feature is the oldest one, which was available even before the introduction of the proper multiple cursors support. Column Selection. . You can press Alt + Shift and using the mouse left click you can put many carets. This action can be anything ranging from an insertion to a deletion. Create Rectangular Selection. ago. Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. Bartosz Gorlewicz. Admittedly, you'll have to use another keybind than <leader>cl, but this does work with multiple lines selected in visual mode. Today I want to show you how you can make the same change in several places inside your class with multiple carets. I've noticed in IntelliJ IDEA 2016. Scroll to Center looks like what you need. On the Live Templates page, you can see all the available live templates, edit them and create new templates. Hold: Option + Mouse Click - Select multiline with a mouse. To create multiple cursors, hold ⌥, click anywhere within the first line you want to the first cursor to be, and drag it down vertically. Related: Cmd - Shift - Enter ( Ctrl + Shift + Enter on Windows) jumps to the next empty line. works for me: hit Alt, release it, then immediately hit it again, and, while holding it, use Up/Down keys. If you're on Mac, press:-. As a result, you will have multiple selection ranges. Since this is hard to explain I've recorded and. Edit the width attribute in a few places. 3. Put your cursor on the first line, then press & hold Option + Shift (on a Mac. In Sublime Text 2 or Atom you. I like the Add selection on Next Occurrence feature very much. replace mode: insert cursorFrom IntelliJ Ultimate 2018. In IntelliJ IDEA, I have defined a live template like this: @Inject private void postInject () { //I want the cursor to be placed here after the execution of the live template. Alt Click and drag the mouse to make the selection. You probably entered Column Selection Mode via an accidental click in the editor context menu (at least that happens to me occasionally). . If you want to create 'long' multiple cursor you can set shortcuts for 'Clone Caret Below' and 'Clone Caret Above' with keyboard. profile file. Shortcuts in IntelliJ. 0:00 Intro0:09 Why you should use it0:25 How to use it1:2. If I use the mouse to start making a selection, then the arrow keys do extend the selection. Alt Click and drag the mouse to make the selection. iml file. IntelliJ IDEA 14. Share. Fortunately, there are several search functions (with keyboard shortcuts) in Intellij IDEA to help you locate the code segments, classes, methods or other. Scroll to Center looks like what you need. If it uses "regular" API, then this might be possible by providing custom com. On day 92, I found out that following keys were not identified in the automated extraction: bitstreamformats. When extending the selection, IntelliJ IDEA automatically selects the next valid expression in increasing sections. 0:00 Intro0:09 Why you should use it0:25 How to use it1:2. If you are on ubuntu running on a bootcamp mac (macbook pro here) then the key stroke is Alt + Shift + Fn + Enter. To add a custom Keymap, CTRL+SHIFT+A, type keymap and click on the one with Settings as subtext. On a Mac there is no short cut to Enable or Disable the Insert mode. : will become . It seems to be working with multiple cursors, so should be pretty close to your use case: Select a block of text and hit ctrl-shift-i to replace it with incrementing numbers. 1 Answer. I encounter a problem with the newest verison of the intellij-idea. Adds a cursor on the previous/next line. Ctrl Shift End. . However, with IdeaVim Plugin you can still get the best of both world’s by leveraging your Vim editing. tags: development tools. Investigation into missing keys. This shortcut opens a search window with all menu items and other IDE actions, whether they have a keyboard shortcut or not. If I use the mouse to start making a selection, then the arrow keys do extend the selection. formats. We tried editing a test file with my cursor typing at the top line, and his at the bottom. However, with IdeaVim Plugin you can still get the best. Yes i saw alt+shift+mb1, this will create multiple cursors, while in eclipse all you have to do is ctrl+shift and click anywhere and then just click delete and it will delete the whole selected text. 2. To add/remove a caret, press Alt+Shift and select cursor locations with the mouse. 1. If the suggested fix works for you, press Alt+Enter, and the IDE will add the import statement for you. When I click and drag on the IDE over multiple. For more information, refer to Font settings. Multiple cursors. For example, this simple example will create three variables of the same type, the type of which I enter/edit after I expand the template. Third, I hit the keyboard shortcut to view the. 0This video is a part of JetBrains PhpStorm Video Tutorials by JetBrains Technical Evangelist Maarten Balliauw. Finally hit Ctrl+K to search for the next occurrence of "foobar". 1 Answer. To configure the font used in the IntelliJ IDEA interface (tool windows, toolbars, menus, and so on), open the IDE settings. IntelliJ IDEA can help you to write code quickly and efficiently while minimising compilation errors. Press Ctrl 0F or select Edit | Find | Find. This is very useful for classes and methods. , map YOU_MAPPING <A-n>). Did some searching through IntelliJ Help PDF: Help Doc pg. How to handle multiple cursors in IdeaVim. Alt Click and drag the mouse to make the selection. The usually situation: insert mode: insert cursor, look like: replace mode: block or rectangle cursor ,like right of the below picture. Bartosz Gorlewicz. Most* of these shortcuts work with multiple cursors. Press Ctrl Alt Shift 0J or or click Select All Occurrences on the toolbar. I usually prefer using ‘main’ because it is simpler to remember. 101 1 1. More about this new improvement in IntelliJ blogpost here. PyCharm Integrated Development Environment Programming. Or alt and select with the mouse. 1 in Manual). I can create multiple cursors with CTRL+Mousclick or with CTRL+d. Select the code you want to use in the template in the editor, press ⇧⌘A / Ctrl+Shift+A, and search for the action Save as Live Template…. I'm big on not using the mouse, especially while writing code. If you want to create 'long' multiple cursor you can set shortcuts for 'Clone Caret Below' and 'Clone Caret Above' with keyboard. 3 Answers. after disabling it, the problem was solved and the 'tab' key started working for multiple lines selection. Alt + Shift on Windows or Linux. 1 that when I'm navigating in the project window, hitting Enter while a particular file is selected opens the file in an editor, but it doesn't place the cursor in the editor. The drag-column-select that you see is useful when text elements are functionally aligned in your file, but in column select mode it might be even more useful when you figure out you can hold Option (IIRC—on Mac) then click multiple. Otherwise, if the option is cleared, key sequences are pasted from the clipboard. 1. 3 EAP 2 introduces a new Run to Cursor inlay option that offers a quick way to navigate to a specific line of code while debugging. You can drag the mouse while holding Alt+Shift and select the text required. Type ms ( m ulti s elect) and a vim command to select multiple items. Stepping is the process of controlling step-by-step execution of the program. It actually affects the cursor movement speed, the constant switching between cursors slows movement to a crawl, making it very frustrating to move the cursor over any window with links (particularly stacktraces) as it requires multiple re-positionings of the mouse to fully move across the text. To demonstrate, let me show you what I mean in the following steps. To arrange variables in the order you want IntelliJ IDEA to switch between associated input fields, use the Move Up and Move Down buttons. vim-multiple-cursors (broken autocompletion, history) Changing a word at n positions. Type mc (multicursor) and a vim command to create cursors; Type ms (multiselect) and a vim command to select multiple items; If you previously selected some text, then the commands work only in the selected text; Supported vim commands: /, f, t, w, W, b, B, e, E, ~, 0. If the focus is inside the Project tool window and you want to add a new element, press Alt+Insert. DesignIntelliJ Features Changelists. IntelliJ IDEA is an Integrated Development Environment (IDE) for Java and Kotlin designed to maximize developer productivity. I'm trying to use multiple cursors, selecting successive instances with `ctrl-G`, but it isn't working for me. The quick documentation pop-up window. Simply add an indent starting from the second line of your multiline TODO comment, and the IDE will differentiate it from an ordinary comment. Step Into: F7. When typing, copying, or pasting are IntelliJ IDEA editor, you able toggle repeatedly cursors to that your actions apply in several places. 2. • Updated plugin. . 5. A horizontal two-finger swipe moves the cursor horizontally. 1 Answer. For more information, refer to JVM options. –We can select increasing or decreasing sections of code near the cursor with ⌥ and Up or Down arrows (MacOS) and Ctrl+W or Ctrl+Shift+W (Windows/Linux). However I can't manage to make it work to edit the ends of lines. Use Alt + Shift + Insert to switch between Column and Insert selection mode. ago. Not exactly the same, but close: put the cursor where you want it first (i. If you are on ubuntu running on a bootcamp mac (macbook pro here) then the key stroke is Alt + Shift + Fn + Enter. To add/remove a caret, press Alt+Shift and select cursor locations with the mouse. Basic usage: select words with Ctrl-N (like Ctrl-d in Sublime Text/VS Code) create cursors vertically with Ctrl-Down / Ctrl-Up. IdeaVim plugins work like the original Vim plugins. I have no found equivalent keyboard-only multi-line selection function in IntelliJ IDEA 13. 1 Answer. After pressing some keys like a it changes back to. ideavimrc are required. Hold: Option + Shift and Tap: Mouse Click - duplicate cursor for a each tap place. Hi all and thanks for your help. 1. Intellij Idea calls this multiselection. I would like to fill the searching word by the word under the cursor automatically. another_key sequence pasted from the clipboard will be displayed with the correct hierarchy. IntelliJ shortcut a day: Column & Multi Cursor Select. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. And. multiple cursor in intellij. 1 Answer. That moves to the end of the word while selecting However, the <A-n> keys are not the keys used by the extension that IdeaVim's multiple-cursors is based on ( terryma/vim-multiple-cursors ). works for me: hit Alt, release it, then immediately hit it again, and, while holding it, use Up/Down keys. Just place the cursor on the test you want to run and hit the shortcut. If I rename a variable I have to type slow or the multiple cursors get out of sync, it is an abysmal user experience. imap jk <Esc> set scrolloff=5: set surround: set incsearch: set multiple-cursors" Insert line above. 3 with ⌘+F > ⌘+R. ,While the column selection mode is useful, it is limited to cases where places you need to edit are vertically aligned, which may not usually be the case. One small popup asked about key repeating and if I want to make it enabled. Majid Sportback. Please. , in the first column of the first line), then "double-tap" the Ctrl key to switch to "multiple cursor" mode (the second time, I think you have to hold it down), then hit the down arrow (while still holding Ctrl down) and it will put cursors on each line that you "down-arrow" to. Mac: Ctrl + M. But if you want to create multiple.