Commit a551f521 authored by Guilherme Semente's avatar Guilherme Semente 🌱

Use package highlight-parentheses and other minor improvements

parent aa49d462
......@@ -169,6 +169,9 @@ You may find other key bindings inside use-package statements."
'((:eval (if buffer-file-name "%f" "%b")) " - " "Emacs")
icon-title-format frame-title-format)
(add-to-list 'default-frame-alist '(height . 30))
(add-to-list 'default-frame-alist '(width . 90))
;; If you are using emacs under X you might like the following
;; setting which puts the underline below the font bottomline
;; instead of the baseline.
......@@ -226,7 +229,7 @@ You may find other key bindings inside use-package statements."
tab-width 4)
;; column beyond which automatic line-wrapping should happen
(setq-default fill-column 80)
(setq-default fill-column 70)
(defalias 'yes-or-no-p 'y-or-n-p)
(put 'narrow-to-region 'disabled nil)
......@@ -235,9 +238,12 @@ You may find other key bindings inside use-package statements."
(menu-bar-mode -1)
(tool-bar-mode -1)
(set-scroll-bar-mode nil)
(show-paren-mode t)
(electric-pair-mode 1)
(show-paren-mode t)
(setq show-paren-when-point-inside-paren t
show-paren-when-point-in-periphery t)
;; cursor
(blink-cursor-mode t)
(setq blink-cursor-blinks 5)
......@@ -819,10 +825,18 @@ You may find other key bindings inside use-package statements."
:defer
:init
(add-hook 'emacs-lisp-mode-hook 'checkdoc-minor-mode)
(add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
(add-hook 'emacs-lisp-mode-hook 'eldoc-mode))
(use-package highlight-parentheses
:ensure t
:config
(setq show-paren-when-point-inside-paren t
show-paren-when-point-in-periphery t))
(setq hl-paren-colors '(nil nil nil nil)
hl-paren-attributes
'((:inherit show-paren-match)
(:weight bold)
(:weight bold)
(:weight bold)))
(global-highlight-parentheses-mode))
(use-package lisp-extra-font-lock
:ensure t
......@@ -1028,8 +1042,7 @@ You may find other key bindings inside use-package statements."
(diminish 'orgtbl-mode "") ; XXX: not working
(setq org-babel-load-languages '((emacs-lisp . t) (shell . t) (python . t))
org-export-backends '(ascii html icalendar latex odt md)
org-capture-templates semente-org-capture-templates)
org-export-backends '(ascii html icalendar latex odt md))
(setq org-archive-default-command 'org-archive-subtree
org-archive-location "~/org/archive.org.gpg::* %s :archive:"
org-archive-reversed-order t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment