 
 ;; Shortcut for compiling
 (global-set-key [(f9)] 'compile)
+
+;; Javascript mode
+(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
+
+(require 'fill-column-indicator)
+(setq-default fci-rule-column 80)
+
+;; AutoComplete settings
+;; (require 'auto-complete)
+;; (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
+;; (require 'auto-complete-config)
+;; (ac-config-default)
+;; (global-auto-complete-mode t)

      (format "\\(%s\\)\\|\\(%s\\)"
              vc-ignore-dir-regexp
              tramp-file-name-regexp))

(require 'git)


;(setq inferior-lisp-program "/usr/local/bin/sbcl")

;; Python settings 
(autoload 'python-mode "python-mode" "Python Mode." t)
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
;; use IPython
(setq-default py-shell-name "ipython")
(setq-default py-which-bufname "IPython")

;; switch to the interpreter after executing code
(setq py-shell-switch-buffers-on-execute-p t)
(setq py-switch-buffers-on-execute-p t)
;; try to automagically figure out indentation
(setq py-smart-indentation t)

;; Automatically indent code after RET
(electric-indent-mode +1)

;; Python Rope
;;(require 'pymacs)
;;(pymacs-load "ropemacs" "rope-")
;;(setq ropemacs-enable-shortcuts nil)
;;(setq ropemacs-local-prefix "C-c C-p")

;; Multi-Term settings
;(require 'multi-term)
