 ;;;    C-z         kill selected region (like cut)
 ;;;    C-x/c C-k   cut selected text
 ;;;    M-Shift-L   toggle line numbers
+;;;    C-q         Goto line
+;;;    C-c C-s     Search DuckDuckGo
+;;;    C-`         Insert character literal (`quoted-insert`)
+;;;
 ;;;  Multiple cursors
 ;;;    C-S-s C-S-s Add cursor to each line in a region
 ;;;    C->         Mark the next similar (not-continuous)
 ;;;    C->         Mark the previous similiar (not-continuous)
 ;;;    C-c C-<     Mark all similar (not-continuous)
-;;;    C-q         Goto line
-;;;    C-c C-s     Search DuckDuckGo
-;;;    C-`         Insert character literal (`quoted-insert`)
+;;;
+
+;; Don't disable the upcase-region function, I seem to use it alot
+(put 'upcase-region 'disabled nil)
 
 (global-set-key (kbd "C-:") 'eshell-here)
 (global-set-key (kbd "C-;") 'execute-extended-command)

                        "/home/bsima/.dotfiles/emacs.d.symlink/"
                        "/Users/bsima/.dotfiles/emacs.d.symlink/"))

(defun edit-init ()
  "Edits my configuration file"
  (interactive)

(add-to-list 'auto-mode-alist '("\\Rakefile" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\Guardfile" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.haml" . haml-mode))

(add-hook 'ruby-mode-hook 'robe-mode)
(require 'rvm)
;(rvm-use-default)

; Get rvm.el to auto start before using robe
(defadvice inf-ruby-console-auto (before activate-rvm-for-robe activate)
  (rvm-activate-corresponding-ruby))

;; SASS
(add-to-list 'auto-mode-alist '("\\.scss" . sass-mode))
(add-to-list 'auto-mode-alist '("\\.sass" . sass-mode))

;; CoffeeScript
(coffee-tab-width 2)


;; Python
;;(require 'virtualenvwrapper)
;;(venv-initialize-eshell)

;; OCaml
;; ... To be continued


;; JavaScript
