 ;;; First of all...
 (global-set-key (kbd "C-h") 'backward-delete-char-untabify)
 (global-set-key (kbd "C-; g") 'goto-line)
+(global-set-key (kbd "M-SPC") 'set-mark-command)
 (keyboard-translate ?\C-h ?\C-?)
 (recentf-mode)
 (setq visible-bell t)


;; Script to run initially in order to necessary packages
(setq pkgs '
      (auto-complete color-theme flymake-cursor 
                     flycheck-pyflakes py-autopep8 js3-mode yasnippet))
(dolist (p pkgs)
  (when (not (require p nil 'noerror))

(autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init)))

;;; elpy
(elpy-enable)

;;; py-autopep8
(require 'py-autopep8)
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
(setq py-autopep8-options '("--ignore=E501"))
; E501 - Try to make lines fit within --max-line-length characters.
; E226 - Fix missing whitespace around arithmetic operator.

;;; flymake
(require 'tramp-cmds)
