{"id":18706,"date":"2024-03-13T21:00:31","date_gmt":"2024-03-13T13:00:31","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=18706"},"modified":"2024-03-12T18:27:40","modified_gmt":"2024-03-12T10:27:40","slug":"sublime-text-tips","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/","title":{"rendered":"12 Best Sublime Text Tips and Tricks"},"content":{"rendered":"<p>You probably know by now that we are fans of <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/www.sublimetext.com\/\">Sublime Text<\/a>. It might look like a very simple <a href=\"https:\/\/www.hongkiat.com\/blog\/free-code-editors-reviewed\/\">code editor<\/a>, but it has a lot of hidden features underneath.<\/p>\n<p>After exploring it for a while, you might be surprised to find that you can do quite a number of cool things in Sublime Text. We went in and dug around for a bit, and here are just some of the tips and tricks that we think you would like to play with.<\/p>\n<p>Let\u2019s supercharge your coding experience in Sublime Text.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/identify-code-errors-sublime-linter\/\">How to Identify Code Errors in Sublime Text<\/a>\n\t\t\t\t<\/p>\n<hr>\n<h2>1. Selection<\/h2>\n<p>As web developers, we frequently edit code. Below are some handy keyboard shortcuts that allow you to make different types of selections in <strong>Sublime Text<\/strong>.<\/p>\n<table>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">D<\/span><\/td>\n<td align=\"left\">\n<p>Select a word.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">L<\/span><\/td>\n<td align=\"left\">\n<p>Select a line.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">A<\/span><\/td>\n<td align=\"left\">\n<p>Select the entire content within the document.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><span class=\"key\">Ctrl<\/span> + <span class=\"key\">Command<\/span> + <span class=\"key\">G<\/span><\/td>\n<td align=\"left\">\n<p>Select everything inside the bracket (which is useful when working with CSS or JavaScript).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p>Furthermore, Sublime Text allows us to select multiple lines at once, which can significantly boost our productivity. There are several ways to perform this feature:<\/p>\n<table>\n<tr>\n<td align=\"left\" width=\"30%\">\n<p><span class=\"key\">Command<\/span><\/p>\n<\/td>\n<td align=\"left\">\n<p>Hold the <span class=\"key\">Command<\/span> key and click on the lines you want to select.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">Ctrl<\/span> + <span class=\"key\">G<\/span><\/td>\n<td align=\"left\">\n<p>Select a code, line, or word first, then hit this combo to select the others with the same instances.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">D<\/span><\/td>\n<td align=\"left\">\n<p>Hit this key to quickly select the next code, line, or word that has the same instances as the one you are currently selecting.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p>See how multi-line selection works below.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02\" alt=\"multi-line selection\" width=\"500\" height=\"280\"><\/figure>\n<hr>\n<h2>2. Sorting CSS<\/h2>\n<p>Commonly, we do not mind how CSS properties are sorted, as CSS will give us the desired output in the browser regardless of their position. However, putting them in a particular order can make your code more organized. In Sublime Text, you can select CSS properties and hit <span class=\"key\">F5<\/span> to <strong>sort the properties in alphabetical order.<\/strong><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/sorting-css.gif?new02\" alt=\"sorting css\" width=\"500\" height=\"200\"><\/figure>\n<p>You can also use a third-party plugin like <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/github.com\/csscomb\/CSScomb-for-Sublime\">CSSComb<\/a> for more control over the property sorting rule.<\/p>\n<hr>\n<h2>3. Command Palette<\/h2>\n<p>You can quickly perform many tasks with the Command Palette, such as renaming files, setting file syntax, and inserting snippets. To show the Command Palette in Sublime Text, hit <span class=\"key\">Command<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">P<\/span>, then enter the command you intend to perform. Here are some examples.<\/p>\n<p><strong>Renaming file<\/strong><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/rename-file.jpg\" alt=\"rename file\" width=\"500\" height=\"180\"><\/figure>\n<p><strong>Set file syntax to HTML<\/strong><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/syntax-html.jpg\" alt=\"set syntax to HTML\" width=\"500\" height=\"180\"><\/figure>\n<p><strong>Insert code snippet<\/strong><\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/insert-snippet.jpg\" alt=\"insert snippet\" width=\"500\" height=\"180\"><\/figure>\n<hr>\n<h2>4. Switching Between Tabs and Projects<\/h2>\n<p>When working on a project, we may have many files open. In Sublime Text, you can quickly switch through these files (or tabs) with the following shortcuts:<\/p>\n<table>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">T<\/span><\/td>\n<td align=\"left\">\n<p>Lists the tabs that are currently open. Select one to go to the tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">]<\/span><\/td>\n<td align=\"left\">\n<p>This will take you immediately to the next tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" width=\"30%\"><span class=\"key\">Command<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">[<\/span><\/td>\n<td align=\"left\">\n<p>This key will take you to the previous tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><span class=\"key\">Command<\/span> + <span class=\"key\">Ctrl<\/span> + <span class=\"key\">P<\/span><\/td>\n<td align=\"left\">\n<p>Switch between the projects listed in the Sublime Text Sidebar.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<hr>\n<h2>5. Cross-File Editing<\/h2>\n<p>This feature is very useful when working with multiple files. For example, suppose you have several code blocks that are very similar and spread across different files in the project. To change these codes efficiently, you can:<\/p>\n<ol>\n<li>Hit <span class=\"key\">Command<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">F<\/span> in Sublime Text. Enter the words, sentence, or lines of code that you want to change in the <strong>Find<\/strong> field. <strong>Pro Tip<\/strong>: hit <span class=\"key\">Command<\/span> + <span class=\"key\">E<\/span> to quickly place the selected code into the <strong>Find<\/strong> input field.<\/li>\n<li>Specify the file names within the <strong>Where<\/strong> input field or add <code>&lt;open files&gt;<\/code> to only affect files that are currently open.<\/li>\n<li>Enter the word or code replacement in the <strong>Replace<\/strong> input field, and hit the <span class=\"key\">Replace<\/span> button.<\/li>\n<\/ol>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/find-search-fields.jpg\" alt=\"find search fields\" width=\"500\" height=\"220\"><\/figure>\n<hr>\n<h2>6. File Crawling<\/h2>\n<p>This feature is really helpful when editing CSS. Hit <span class=\"key\">Command<\/span> + <span class=\"key\">R<\/span>. A dialog will appear with a list of CSS selectors in the document, as shown in the screenshot below. You can search and select the selectors you wish to navigate to.<\/p>\n<p>This is a more convenient way to search for a code block than using the regular <strong>Find<\/strong> feature.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/file-crawling.jpg\" alt=\"file crawling\" width=\"500\" height=\"320\"><\/figure>\n<hr>\n<h2>7. Spell Checker<\/h2>\n<p>I frequently write in a code editor and often make spelling mistakes. If you\u2019re like me, you can enable the spell checker in Sublime Text in this way:<\/p>\n<p>Go to <strong>Preferences &gt; Settings \u2013 User<\/strong> in Sublime Text, and add the following line:<\/p>\n<pre>\r\n \"spell_check\": true,\r\n <\/pre>\n<hr>\n<h2>8. Sidebar Enhancement<\/h2>\n<p>This plugin, <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/github.com\/titoBouzout\/SideBarEnhancements\/tree\/st3\">SideBarEnhancements<\/a>, brings great enhancements to the Sublime Text sidebar. Once installed, right-click on the sidebar, and you will find additional menus such as <strong>Open in Finder, New File, New Folder, Open With,<\/strong> and <strong>Open in Browser.<\/strong><\/p>\n<p><strong>Tip<\/strong>: Hit the <span class=\"key\">F12<\/span> key to open the file in the browser.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/sidebar-enhancement.jpg\" alt=\"sidebar enhancement\" width=\"500\" height=\"250\"><\/figure>\n<hr>\n<h2>9. Change Sublime Text Theme<\/h2>\n<p>We can also change the entire appearance of Sublime Text. One of my favorites is called the <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/github.com\/buymeasoda\/soda-theme\">Soda Theme<\/a>, which can be installed through Package Control.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/soda-theme.jpg\" alt=\"soda theme\" width=\"500\" height=\"220\"><\/figure>\n<p>If the theme you intend to install is not available in the Package Control repository, you can install it manually:<\/p>\n<ol>\n<li>Download and unzip the Theme package.<\/li>\n<li>Go to <strong>Preferences<\/strong> &gt; <strong>Browse Packages\u2026<\/strong><\/li>\n<li>Put the theme folder in the <strong>Packages<\/strong> folder.<\/li>\n<li>Then go to <strong>Preferences<\/strong> &gt; <strong>Settings \u2013 User,<\/strong> and add the following line to activate the theme:<\/li>\n<\/ol>\n<pre>\r\n \"theme\": \"Soda Light.sublime-theme\"\r\n <\/pre>\n<hr>\n<h2>10. Change Sublime Text Icon<\/h2>\n<p>Apart from changing the theme, you can also change the icon. There are many nicely designed Sublime Text icons available on Dribbble. Here\u2019s how you can change the icon:<\/p>\n<ol>\n<li>Download one of the icons from Dribbble. Ensure that the icon comes in the <code>.icns<\/code> format, or convert it first with this tool: <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/iconverticons.com\/online\/\">iConvert<\/a>.<\/li>\n<li>Run the following command in the Terminal:<\/li>\n<\/ol>\n<pre>open \/Applications\/Sublime\\ Text.app\/Contents\/Resources\/<\/pre>\n<p>3. Replace the <strong>Sublime Text 3.icns<\/strong> or <strong>Sublime Text 2.icns<\/strong> file with the one you downloaded.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/sublime-text-icon.jpg\" alt=\"sublime text icon\" width=\"500\" height=\"220\"><\/figure>\n<hr>\n<h2>11. Sync Setting<\/h2>\n<p>If you are working on multiple computers, you might want to keep and apply the same settings for Sublime Text across these computers. We can set this up with the help of Dropbox (and a small tweak).<\/p>\n<p>First, run the following command in the Terminal:<\/p>\n<pre>\r\n mkdir $HOME\/Dropbox\/sublime-text-3\/\r\n mv \"$HOME\/Library\/Application Support\/Sublime Text 3\/Packages\" \"$HOME\/Dropbox\/sublime-text-3\/\"\r\n mv \"$HOME\/Library\/Application Support\/Sublime Text 3\/Installed Packages\" \"$HOME\/Dropbox\/sublime-text-3\/\"\r\n <\/pre>\n<p>Then, run this command in the Terminal on every other computer you want synchronized with the settings that we have put in Dropbox:<\/p>\n<pre>\r\n DSTPATH=\"$HOME\/Library\/Application Support\/Sublime Text 3\"\r\n DROPBOX_PATH=\"$HOME\/Dropbox\/sublime-text-3\"\r\n rm -rf \"$DSTPATH\/Installed Packages\"\r\n rm -rf \"$DSTPATH\/Packages\"\r\n mkdir -p \"$DSTPATH\"\r\n ln -s \"$DROPBOX_PATH\/Packages\" \"$DSTPATH\/Packages\"\r\n ln -s \"$DROPBOX_PATH\/Installed Packages\" \"$DSTPATH\/Installed Packages\"\r\n <\/pre>\n<p>Thanks to xMarekacross for <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/skrobul.tumblr.com\/post\/63912356219\/sublimetext-3-keeping-your-settings-in-sync-across\">the tip<\/a>.<\/p>\n<hr>\n<h2>12. Clickable URL<\/h2>\n<p><a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/github.com\/leonid-shevtsov\/ClickableUrls_SublimeText\">ClickableURLs<\/a> is a tiny Sublime Text plugin that is very useful when you find a bunch of URLs within your codes. It makes the URLs clickable.<\/p>\n<hr>\n<h2>More<\/h2>\n<p>I have written about other things you can do with Sublime Text, including:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-task-management\/\">Manage Notes And Lists With Sublime Text<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-color-addition\/\">Easy Color Picking In Sublime Text<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-refresh-browser\/\">How To Refresh Changes On Browser With Sublime Text<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/sublime-code-snippets\/\">Working With Code Snippets In Sublime Text<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/identify-code-errors-sublime-linter\/\">Identify Code Error In Sublime Text With Sublime Linter<\/a><\/li>\n<li><a href=\"https:\/\/www.hongkiat.com\/blog\/css-automatic-vendor-prefix\/\">Adding CSS Vendor Prefix Automatically With Sublime Text<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath. After exploring it for a while, you might be surprised to find that you can do quite a number of cool things in Sublime Text.&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[2499],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>12 Best Sublime Text Tips and Tricks - Hongkiat<\/title>\n<meta name=\"description\" content=\"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12 Best Sublime Text Tips and Tricks\" \/>\n<meta property=\"og:description\" content=\"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-13T13:00:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"12 Best Sublime Text Tips and Tricks\",\"datePublished\":\"2024-03-13T13:00:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/\"},\"wordCount\":1074,\"commentCount\":43,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sublime-text-tips\\\/multi-line-selection.gif?new02\",\"keywords\":[\"sublime text\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/\",\"name\":\"12 Best Sublime Text Tips and Tricks - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sublime-text-tips\\\/multi-line-selection.gif?new02\",\"datePublished\":\"2024-03-13T13:00:31+00:00\",\"description\":\"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sublime-text-tips\\\/multi-line-selection.gif?new02\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/sublime-text-tips\\\/multi-line-selection.gif?new02\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/sublime-text-tips\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"12 Best Sublime Text Tips and Tricks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"12 Best Sublime Text Tips and Tricks - Hongkiat","description":"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/","og_locale":"en_US","og_type":"article","og_title":"12 Best Sublime Text Tips and Tricks","og_description":"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.","og_url":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2024-03-13T13:00:31+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"12 Best Sublime Text Tips and Tricks","datePublished":"2024-03-13T13:00:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/"},"wordCount":1074,"commentCount":43,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02","keywords":["sublime text"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/","url":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/","name":"12 Best Sublime Text Tips and Tricks - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02","datePublished":"2024-03-13T13:00:31+00:00","description":"You probably know by now that we are fans of Sublime Text. It might look like a very simple code editor, but it has a lot of hidden features underneath.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/sublime-text-tips\/multi-line-selection.gif?new02"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/sublime-text-tips\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"12 Best Sublime Text Tips and Tricks"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4RI","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=18706"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18706\/revisions"}],"predecessor-version":[{"id":70863,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18706\/revisions\/70863"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=18706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=18706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=18706"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=18706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}