background preloader

Atom Editor + GIT

Facebook Twitter

Git. Blog. Have you ever used Atom and wondered what all the colors in the gutter, tree view, and status bar mean? The answer is Git. Atom has built-in support for projects stored in a Git repository, providing core APIs and also including packages that add Git-specific features. Today, I'd like to walk you through some of my favorite Git features in Atom and explain a bit about how they work and how they can be tweaked. Git API First off, the packages and features mentioned in this post are all built around Atom's core Git API. The atom.project global has a getRepo() method that will return a Git repository for the current project.

This class uses the git-utils library which uses native bindings to the libgit2 library. Checkout HEAD revision Now onto the features, starting with my favorite, cmd-alt-z. This is a quick way to discard any saved and staged changes you've made and restore the file to the version in the HEAD commit. Git status list Commit editor git config --global core.editor "atom --wait" Install Atom Text Editor In Ubuntu Via PPA. Atom is an open source "hackable text editor for the 21st Century" developed by GitHub.

Install Atom Text Editor In Ubuntu Via PPA

Until now, to use Atom in Ubuntu or Linux Mint you'd have to compile it but I like to make things easier for you so I've built it on my computer (Nodejs apps can't be built directly in Launchpad PPAs because they need to install external dependencies and Launchpad doesn't allow that) and uploaded it to a PPA, for Ubuntu and derivatives: Linux Mint, elementary OS, etc. Update: initially, Atom could only be built on 64bit (on Linux), but it's now available for both 32bit and 64bit! Update 2: The Atom devs are now providing Atom 64bit DEB packages @ GitHub. Update 3: There are now official Atom 64bit RPM packages available for download. Customizing Atom. To change a setting, configure a theme, or install a package just open the Settings view in the current window by pressing cmd-,.

Customizing Atom

Changing The Theme Atom comes with both light and dark UI themes as well as several syntax themes. You are also encouraged to create or fork your own theme. To change the active theme just open the Settings view (cmd-,) and select the Themes section from the left hand side. You will see a drop-down menu to change the active Syntax and UI themes. You can also install more themes from here by browsing the featured themes or searching for a specific theme. Installing Packages You can install non-bundled packages by going to the Packages section on left hand side of the Settings view (cmd-,). You can also install packages from the command line using apm. Check that you have apm installed by running the following command in your terminal: apm help install You should see a message print out with details about the apm install command. Customizing Key Bindings '.editor': Atom.

Blog. Today, we are excited to launch the public beta of Atom, a new text editor that's deeply programmable but also easy to use. Sublime and TextMate offer convenience but only limited extensibility. On the other end of the spectrum, Emacs and Vim offer extreme flexibility, but they aren't very approachable and can only be customized with special-purpose scripting languages. We think we can do better. Our goal is a zero-compromise combination of hackability and usability: an editor that will be welcoming to an elementary school student on their first day learning to code, but also a tool they won't outgrow as they develop into seasoned hackers.

As we've used Atom to build Atom, what began as an experiment has gradually matured into a tool we can't live without. We'll be rolling out invites over the coming weeks, and we've open-sourced over 80 of the libraries and packages used in the editor. We look forward to your feedback, packages, and pull requests. Github rolls out new text editor AtomTechie News. Github has introduced Atom, its new text editor that allows developers to write and edit code and which has been in development for more than six years.

Github rolls out new text editor AtomTechie News

Atom will be available as a part of an invite-only beta program. Github said in a blog post “Today, we are excited to launch the public beta of Atom, a new text editor that’s deeply programmable but also easy to use.” “Sublime and TextMate offer convenience but only limited extensibility. On the other end of the spectrum, Emacs and Vim offer extreme flexibility, but they aren’t very approachable and can only be customized with special-purpose scripting languages.” “We think we can do better. Github explained that Atom was started just as an experiment, but it gradually developed into a very essential tool. The company claimed “This is only the beginning, and there’s much to do before we achieve our full vision. Github revealed that over 80 of the libraries and packages used in Atom have been open sourced.