|
|
@ -94,9 +94,6 @@ |
|
|
|
:config (setq doom-themes-enable-bold t |
|
|
|
:config (setq doom-themes-enable-bold t |
|
|
|
doom-themes-enable-italic t) |
|
|
|
doom-themes-enable-italic t) |
|
|
|
(load-theme 'doom-molokai t)) |
|
|
|
(load-theme 'doom-molokai t)) |
|
|
|
; (setq-default fill-column 80) |
|
|
|
|
|
|
|
; (define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
|
|
|
|
; (global-fci-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; highlights the current line |
|
|
|
;; highlights the current line |
|
|
|
(use-package hlinum |
|
|
|
(use-package hlinum |
|
|
@ -126,11 +123,17 @@ |
|
|
|
(setq whitespace-style '(face empty tabs lines-tail trailing)) |
|
|
|
(setq whitespace-style '(face empty tabs lines-tail trailing)) |
|
|
|
(global-whitespace-mode t) |
|
|
|
(global-whitespace-mode t) |
|
|
|
|
|
|
|
|
|
|
|
;; Snippets |
|
|
|
;; Snippets (snippets reside in ~/.emacs.d/snippets/ and should be |
|
|
|
|
|
|
|
;; kept in a directory with mode name) |
|
|
|
(use-package yasnippet |
|
|
|
(use-package yasnippet |
|
|
|
:ensure t) |
|
|
|
:ensure t) |
|
|
|
(yas-global-mode 1) |
|
|
|
(yas-global-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; colorize parens |
|
|
|
|
|
|
|
(use-package rainbow-delimiters |
|
|
|
|
|
|
|
:ensure t |
|
|
|
|
|
|
|
:config (add-hook 'prog-mode-hook #'rainbow-delimiters-mode)) |
|
|
|
|
|
|
|
|
|
|
|
;; auto-pairs |
|
|
|
;; auto-pairs |
|
|
|
(electric-pair-mode 1) |
|
|
|
(electric-pair-mode 1) |
|
|
|
|
|
|
|
|
|
|
@ -145,6 +148,11 @@ |
|
|
|
(line-number-mode 1) |
|
|
|
(line-number-mode 1) |
|
|
|
(column-number-mode 1) |
|
|
|
(column-number-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; column highlight |
|
|
|
|
|
|
|
(setq-default fill-column 80) |
|
|
|
|
|
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
|
|
|
|
|
(global-fci-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
;; line numbers |
|
|
|
;; line numbers |
|
|
|
(global-linum-mode 1) |
|
|
|
(global-linum-mode 1) |
|
|
|
(defun configure-linum-colors () |
|
|
|
(defun configure-linum-colors () |
|
|
|