Select Multiple Instances of the Same Word ⌘ + D ( CTRL + D on Windows)Īs soon as you type ⌘ + D, the entire word will be selected. Below you can find some of the best ways to quickly select text. Quick Text SelectionĪs mentioned in the introduction, Sublime is extremely powerful when it comes to selecting text, due to the multi-selection feature. If you have a hard time memorizing new shortcuts, have a look at part 1 of our series for some keyboard-related tips. Keyboard ShortcutsĪs expected from a competent text editor, Sublime comes with a plethora of keyboard shortcuts that you should learn and take advantage of. I will also list some of my favorite themes and packages. Today I will share the most essential commands to quickly get things done and some customization you should look into. I find it great for writing down quick thoughts. This enables ST to exit immediately without any prompts, preserving all changes to the document and even unsaved files for the next time the editor is launched. ![]() "Hot Exit" is another feature worth mentioning and one of my favorites in Sublime. Extensibility: thousands of plugins (known as packages in the ST world) have been developed by the community, providing extra features and further customization depending on your needs.Performance: with lightning-fast startup time, Sublime can handle files with thousands of lines without any hiccups.Multi-Selection: with the power of multiple selections and cursors, mass editing can be easily performed.Here are some of its most noteworthy features: Then, sudo mv it to /usr/share/applications, then create a symlink to your ~/Desktop as described above.Sublime Text, currently in version 4, was released in 2008 and quickly took the world by storm. Save the file someplace as sublime_text_2.desktop. Open a blank file in Sublime and add the following contents: Ĭomment=Sophisticated text editor for code, markup and proseĮxec=/opt/Sublime Text 2/sublime_text -command new_file desktop file yourself, then move it to /usr/share/applications. ![]() If you insist on using ST2, you'll need to create the. Simply double-click on the Sublime Text 3 icon on your desktop, and it will start. Sudo ln -s /opt/sublime_text/sublime_text /usr/bin/sublimeĪnd you're all set. Then, create a symlink to it on your desktop: ln -s /usr/share/applications/sublime_sktop "~/Desktop/Sublime Text 3.desktop"įinally, you'll need to fix your /usr/bin/sublime symlink to point to ST3: sudo rm /usr/bin/sublime Next, move /opt/sublime_text/sublime_sktop to /usr/share/applications. If you decide to use ST3 instead, first download the tarball, unzip it, then move it to /opt/sublime_text: sudo mv sublime_text_3 /opt/sublime_text I answered a similar question on Ask Ubuntu, but I'll summarize it here. I'm not a CentOS user, but apparently the default desktop environment is Gnome 3, so the steps to creating an application shortcut are essentially the same as for Ubuntu. You can easily create an icon on your desktop to start Sublime without involving Terminal at all. I've been using ST3 almost exclusively for over 2 years now, and wouldn't dream of going back. The ST3 API has vastly improved, but in some backwards-incompatible ways, so many new (and existing) plugins only support ST3, with ST2 support either being dropped entirely, or not developed any more. ![]() While ST3 is technically still a "beta", it is perfectly stable and completely capable of production work - in fact, in my experience, it is more stable than ST2, which is not threaded and can easily crash if a plugin dies. It has many many improvements over ST2, which is not being developed any more, so no bugs will be fixed or new features added. ![]() Before I start, I would strongly urge you to use Sublime Text 3 instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |