 (show-paren-mode 1)
 ;; (toggle-truncate-lines)
 (set-default 'truncate-lines t)
+
+(set-face-attribute 'region nil :background "wheat" :foreground "saddle brown")
 
 (require 'paren)
 (require 'highlight-parentheses)

(require 'thingatpt)
(require 'thingatpt+)

(defun select-symbol-under-cursor ()
  (interactive)
  (setq bounds (bounds-of-thing-at-point 'symbol))

  (set-mark (car bounds))
  (goto-char (cdr bounds)))

(defun select-string-under-cursor ()
  (interactive)
  (setq bounds (bounds-of-thing-at-point 'string))
  (set-mark (car bounds))
  (goto-char (cdr bounds)))

(global-set-key (kbd "C-d") 'select-symbol-under-cursor)
(global-set-key (kbd "C-S-d") 'select-sentence-under-cursor)
(global-set-key (kbd "C-S-s") 'select-string-under-cursor)

; Lua
(package-install 'lua-mode)
