Ctrl + down arrow to scroll one line down.Ctrl + Shift + left arrow move the cursor and select the word toward left.Ctrl + Shift + right arrow move the cursor and select the word toward the right.Ctrl + Shift + Left Arrow to select a word toward the left.Ctrl + Shift + Right Arrow to select a word toward the right.PgDn moves the cursor to the bottom of the editor.PgUp moves the cursor to the top of the editor.Ctrl + End move the cursor to the end of the page.Ctrl + Home move the cursor to the beginning of the page.End in the keyboard move cursor to the end of a line.Home in the keyboard move cursor to the beginning of a line.Ctrl + left arrow move the cursor to the beginning of a word.Ctrl + right arrow moves the cursor to the end of a word.Instead of Ctrl + X to cut a line and Ctrl + V to paste a line, you could use _Alt + Up/Down Arrow _ to move a line up or down -Moving cursor by word. ![]() The down arrow moves the cursor down one line.The up arrow moves the cursor up one line.The left arrow moves one character to the left.The right arrow moves one character to the right.Ctrl + Enter to move my cursor to a new line (go down 1 line).Ĭtrl + Shift + Enter to push existing line down and add a new line.Place your cursor in front of the word, and then Ctrl + Delete to delete the word. ![]() Place your cursor at the end of the word you want to delete, then Ctrl + Backspace to delete the word.Ctrl + D to select a word (whether you are in front, back or within the word), press Delete in the keyboard to remove the word.Press Delete on the keyboard delete one character to the right -Delete a word. Press Backspace deletes one character to the left You can use Ctrl + Tab to focus on the next tab or Ctrl + Shift + Tab to focus on the previous tab. I use Ctrl + PgUp to focus on the previous tab and Ctrl + PgDn to focus on the next tab. Use the left arrow to go up one directory, and right arrow to go inside a directory.Ĭtrl + 0 (Zero) (not working in number pad) to focus on explorer, Ctrl + 1 (not working in number pad) to focus back to the editor.Use the up/down arrow to navigate between the file or folder.I share this method with people who might find it useful.Ĭtrl + Shift + E to focus on the explorer and Ctrl + Shift + E again to focus back to the editor. I seldom navigate folder and file this way. Use up/down arrow to navigate between the file. Use Ctrl + right/left arrow to navigate between folder. (Period) to focus your current breadcrumbs folder. Your filename is how-to-build-a-website-with-gatsbyjs.md, you can type gatsbyjs or build a website, VS Code will filter and show you every file match your search.Ĭtrl + Shift +. I navigate from file to file with Ctrl + E (you can also use Ctrl + P) then search the keyword of the filename and press Enter to open a file. I often toggle the sidebar off with Ctrl + B. I use mouse unconsciously, and I always have to remind myself not to use it. Let's learn together.īelow are the keyboard shortcut and navigation I learned so far, I'll continuously update this article when I learn something new. If you could also share how you code without using a mouse would be much appreciated. What I pretty sure is my coding speed will decrease dramatically. Then document my learning to be a mouse free developer (Ops, it's should be a mouse-less developer). I will try my best to use the keyboard shortcut, terminal and command line in VS Code. ![]() I don't think we can 100% avoid using a mouse in a graphic user interface (GUI) environment, especially when we want to check the navigation link, button and form. My target is to focus 90% on using the keyboard. There are some arguments in the web development community mention that writing code without a mouse could be faster. ![]() Drag and drop, left-click, right-click, scroll the web page up and down with mouse wheel. Note: Select the title inside the quote and use Ctrl + F to quickly find the newly added sectionĪfter using PC for so many years with a mouse or trackpad, we so used to point and click everything we want on the screen so fast and concise.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |