                 ("\\Gemfile$"     . ruby-mode)
                 ("\\.rabl$"       . ruby-mode)
 
+                ("\\.awk"         . awk-mode)
+                ("\.gradle$"      . groovy-mode)
+                ("\.gsp$"         . nxml-mode)
+
+                ("\\.css"         . css-mode)
                 ("\\.ya?ml$"      . yaml-mode)
                 ("\\.sass$"       . sass-mode)
                 ("\\.ha?ml$"      . haml-mode)

                ("\\.c$"          . c-mode)
                ("\\.h$"          . c++-mode)

                ("\\.awk"         . awk-mode)
                ("\\.css"         . css-mode)

                ;; Ruby Bindings
                ("\\.rb$"         . ruby-mode)
                ("\\.ruby$"       . ruby-mode)

(setq compilation-read-command t)
(setq compilation-window-height 12)

;;; make Groovy mode electric by default.
(add-to-list 'interpreter-mode-alist '("groovy" . groovy-mode))
(add-hook 'groovy-mode-hook
          '(lambda ()
             (setq c-basic-offset 4)
