Usage link or copy .emacs and .emacs.d to ~, and get a emacs-profile for writing js. Cheat Sheet default mark-whole-buffer C-x h indent-region C-M-\ by .emacs comment-region C-c M-c uncomment-region C-c M-v