Skip to content

Commit

Permalink
added show-paren-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
reactormonk committed Jan 4, 2016
1 parent eae5a2d commit 5dd1545
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions init.el
Expand Up @@ -240,6 +240,9 @@
(remove-hook 'post-self-insert-hook
'electric-indent-post-self-insert-function))

(use-package rainbow-delimiters
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))

; Stuff for window management
(defun detach-window () (interactive) (let ((new-frame (save-excursion(make-frame-command)))) (delete-window) (select-frame new-frame)))
(global-set-key (kbd "C-x 2") 'detach-window)
Expand Down Expand Up @@ -341,5 +344,7 @@

(add-hook 'prog-mode-hook
(lambda() (setq show-trailing-whitespace t)))
(add-hook 'prog-mode-hook
'show-paren-mode)

;;; init.el ends here

0 comments on commit 5dd1545

Please sign in to comment.