 (powerline-default-theme)
 (define-key evil-normal-state-map (kbd "j") 'evil-next-visual-line)
 (define-key evil-normal-state-map (kbd "k") 'evil-previous-visual-line)
+(setq-default tab-width 4 indent-tabs-mode nil)
+(define-key global-map (kbd "RET") 'newline-and-indent)
+(ac-config-default)
 
 (global-flycheck-mode)
 (add-hook 'after-init-hook #'global-flycheck-mode)

(require 'powerline)
(require 'cl)
(require 'flycheck)

;; helm settings (TAB in helm window for actions over selected items,
;; C-SPC to select items)

           (set-face-background 'mode-line (car color))
           (set-face-foreground 'mode-line (cdr color))))))

;; Add ac-source-dictionary to ac-sources of all buffer
(defun ac-js-setup ()
  (setq ac-sources (append ac-sources '(ac-source-tern-completion))))

(add-hook 'js-mode 'ac-js-setup)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
