  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
+ '(align-c++-modes (quote (c++-mode c-mode java-mode js2-mode)))
  '(ansi-color-faces-vector
    [default default default italic underline success warning error])
  '(custom-enabled-themes (quote (wombat)))

      load-prefer-newer t ; when a file is updated outside Emacs reload it
      ediff-split-window-function 'split-window-horizontally)

;; Helm
(require 'helm)
(require 'helm-config)

;; python
(add-hook 'python-mode-hook 'py-yapf-enable-on-save)

;; Easy buffer switching
(defun switch-to-previous-buffer ()
  "Switch to previously open buffer.
Repeated invocations toggle between the two most recently open buffers."
  (interactive)
  (switch-to-buffer (other-buffer (current-buffer) 1)))

(global-set-key (kbd "<C-tab>") 'switch-to-previous-buffer)

(provide 'init)
;;; init.el ends here
