Sublime Text Editor For Windows

Posted on  by
  • Sublime Text editor is used as an Integrated Development Editor (IDE) like Visual Studio code and NetBeans. The current version of Sublime Text editor is 3.0 and is compatible with various operating systems like Windows, Linux and MacOS. Why Sublime Text? When you use a suitable Text editor, you can enjoy its rich beneficial features.
  • A most powerful text editor. Sublime Text is one of the best text editors available. With a Python API which allows plugins to add functions. A text editor allows you to write and edit code in one of the various programming languages. Each language is used for different functions, from website layout and style to applications and data science.

Sublime is a sophisticated text editor for code, markup, and prose that's available for Mac and Windows. This wikiHow will teach you how to download Sublime. Download this app from Microsoft Store for Windows 10, Windows 10 Mobile, Windows 10 Team (Surface Hub), HoloLens. See screenshots, read the latest customer reviews, and compare ratings for Basic Text Editor. Advertisement Sublime Text 2 is a text editor designed mainly for editing snippets of code, plugins, and markup, but it also comes with everything you need to write articles or type in normal prose.

If you have been trying to figure out how to open the Sublime Text editor from your Git bash, then you're in luck. This article will guide you through the process with little or no stress.

Sublime Text 3.2

It took me a while to figure out how it's done, but now I can share that knowledge with you all in this write up. By the end you will be able to launch Sublime Text from bash.

Prerequisites:

  • Make sure you have Sublime text editor set up
  • Make sure you have Git installed

Getting started

Sublime text is a source code editor that helps software developers code and edit text or markup.

It has amazing features such as syntax highlighting, indentation, plugins and packages. All these features help make it easier and more comfortable to work with and contribute to a wide variety of programming language code bases.

Once you've downloaded and installed Sublime, it will be located within the program files as shown below:

What we want to do is create an alias for the sublime_text.exe found within the Sublime Text 3 folder. Then when we type the alias into Git bash it auto launches the text editor.

How to Configure Git Bash with Sublime Alias

To begin configuring Git bash, we first need to open the bash terminal. Then we can proceed to explore various Linux commands in order to complete the configuration process .

First, we need to create a .bashrc file using the touch command. It's important that the file be created within the C:Usersusername directory – otherwise you will get a permission denied error.

I have created the bash file within the specified directory, so mine looks like C:Userslarry.bashrc.

Next we need to edit the .bashrc file to include the alias we'll need to launch Sublime text:

When we click on enter we will see an interface that looks somewhat like what we have below. Then you need to press ito enter the insert mode.

Now you have access and can type into the prompt. So we can add our alias there now, like this:

Once we've included that, we can press escto exit insert mode and then :wq to save and exit.

Once we are done with that we can head back to our bash to check if our configuration worked by doing subl as shown below:

Sublime Text Editor For Windows 10 Download

Yes, it works! And you can see Sublime Text launch itself.

I also figured out that if you have a working directory you can force Sublime to open that directory. I will navigate into a code base now and show the difference in the next screenshot:

Editor

From the screenshot above, Sublime doesn't just launch a blank workspace – it launches with all project folders associated with that project. That's because we added a wildcard to the command.

I hope with this hack you will be able to setup an alias for Sublime Text. I really appreciate the answers on this stack overflow thread.It helped me form the knowledge I was able to share in this article .

Sublime Text is a sophisticated text editor for code, markup and prose. You'll love the slick user interface, extraordinary features and amazing performance.
Some things users love about Sublime Text:
- Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
- Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.
- The Command Palette holds infrequently used functionality, like sorting, changing the syntax and changing the indentation settings. With just a few keystrokes, you can search for what you want, without ever having to navigate through the menus or remember obscure key bindings.
- When you need to focus, Distraction Free Mode is there to help you out. Distraction Free Mode is full screen, chrome free editing, with nothing but your text in the center of the screen. You can incrementally show elements of the UI, such as tabs and the find panel, as you need them.
- Get the most out of your wide screen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish. Take advantage of multiple monitors by editing with multiple windows, and using multiple splits in each window.
- Projects in Sublime Text capture the full contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant, with no save prompts - all your modifications will be restored next time the project is opened.
- Key Bindings, Menus, Snippets, Macros, Completions and more - just about everything in Sublime Text is customizable with simple JSON files. This system gives you flexibility as settings can be specified on a per-file type and per-project basis.
- Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses.