AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sublime text shortcuts save all9/9/2023 Alt+F3 to find all occurrences of the current word or selected textĪlt+F3 gives a really simple way to do find and replace: Use it to select all occurrences of the current word or selection, then just start typing to replace or edit them all at once.Ctrl+F3 to find the next occurrence of the current word or selected text.Two handy ways to use find to work with the selection: Shift+Right mouse button is an alternative way to initial a column select.ĭragging in the gutter (where the line numbers are), will select entire lines at once. 3) Kill Sublime Text brutally with the Task Manager. 2) Change the value of the 2 parameters 'hotexit' and 'rememberopenfiles' to false. Whether clicking, double clicking to select a word or dragging to select text, you can hold down modifier keys to work with multiple selections:ĭragging with the middle button / mouse wheel will do a column selection. Better to share it on StackOverflow : 1) Go to preferences, Setting-Default. Given a selected block of text, Ctrl+Shift+K will split it into two selections, one for each end. When you're done with using multiple selections, just press Ctrl+K to trim all but the first. To select multiple regions using the keyboard, select a block of text, then press Ctrl+Shift+L to split it into one selection per line. It works as a quick substitute for find and replace, or to apply the same sequence of changes to multiple lines simultaneously. Use multiple selections to edit in more that one place at once. Pressing Ctrl+L,Backspace will delete the current line. Uncomment this line to set up a tab trigger for the shortcut Now save it, but keep in mind putting it in the correct location is important If you can not find it, go to 'Sublime' - > 'Preferences' -> 'Browse Packages. Creating a new snippet through the menu item or keyboard shortcut automatically prompts this location on save. On Mac, user created snippets are saved at: /Library/Application Support/Sublime Text 3/Packages/User. Pressing it multiple times will extend the selection by a line at a time. Getting started with one of the lightweight Code Editor Sublime Text and introduction to Snippets, Project and Macros. After creating your snippet, make sure to save it in a file ending in sublime-snippet. Ctrl+Home / Ctrl+End: Move to the beginning / end of the fileĮxpand selection to line is quite handy, it's worth giving it a try to get a feel for it.Sublime Text works with all the standard Windows shortcuts: In addition to the arrow keys, home, end, page up, etc, there is:
0 Comments
Read More
Leave a Reply. |