azer / emacs

Ready-to-use Emacs Setup for JavaScript and Go
227 stars 28 forks source link

Azer's Emacs Setup

Ready-to-use Emacs setup for JavaScript and Go programming.

Install

$ cd ~
$ git clone https://github.com/azer/emacs
$ cd emacs
$ make

Backup your existing configuration:

$ mkdir ~/emacsbak && mv ~/.emacs* ~/emacsbak/.

And enable this emacs distro:

$ ln -s ~/emacs/init.el ~/.emacs

To check for updates;

$ make update

What's included?

Usage

Arrow Buttons

NPM

Go

Git

Others

* M-i       ido-goto-symbol
* C-c C-m   Start Refactoring. More info: https://github.com/magnars/js2-refactor.el
* m-g n     run-js
* m-g m     js-send-region
* m-s s     er/expand-region
* C-j       zencoding-expand-yas
* up        jump to up
* down      jump to down
* left      undo
* right     redo
* m-r       replace-regexp
* m-g g     go to line
* m-down    go to forward line
* m-up      go to previous line
* C-x \     align=
* m-c       run-last-command
* m-g c     run-new-command
* m-z       zsh

Snippets

Troubleshooting

Notes