diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 156c28b..9aa6c7c 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1214,6 +1214,12 @@ Computing Environment". (add-hook 'js2-mode-hook 'subword-mode) #+END_SRC + Set the basic offset to 2 spaces for JavaScript. + + #+BEGIN_SRC emacs-lisp + (setq js2-basic-offset 2) + #+END_SRC + * Applications - [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it