|
|
@ -186,6 +186,7 @@ Install and configure packages. |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package hybrid-reverse-theme |
|
|
|
(use-package hybrid-reverse-theme |
|
|
|
|
|
|
|
:ensure nil |
|
|
|
:load-path "~/code/elisp/emacs-hybrid-reverse" |
|
|
|
:load-path "~/code/elisp/emacs-hybrid-reverse" |
|
|
|
:config (load-theme 'hybrid-reverse t)) |
|
|
|
:config (load-theme 'hybrid-reverse t)) |
|
|
|
|
|
|
|
|
|
|
@ -676,6 +677,9 @@ https://github.com/laishulu/hl-fill-column |
|
|
|
;; Dired move to trash |
|
|
|
;; Dired move to trash |
|
|
|
(setq delete-by-moving-to-trash t) |
|
|
|
(setq delete-by-moving-to-trash t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Column indicator character |
|
|
|
|
|
|
|
(setq display-fill-column-indicator-character ?\N{U+2503}) |
|
|
|
|
|
|
|
|
|
|
|
;; Scrolling |
|
|
|
;; Scrolling |
|
|
|
(setq scroll-conservatively 1) |
|
|
|
(setq scroll-conservatively 1) |
|
|
|
(setq mouse-wheel-scroll-amount '(5)) |
|
|
|
(setq mouse-wheel-scroll-amount '(5)) |
|
|
@ -1226,6 +1230,9 @@ Evil command aliases. |
|
|
|
;; Delete trailing whitespace |
|
|
|
;; Delete trailing whitespace |
|
|
|
(add-hook 'before-save-hook 'delete-trailing-whitespace) |
|
|
|
(add-hook 'before-save-hook 'delete-trailing-whitespace) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Display fill column indicator |
|
|
|
|
|
|
|
(add-hook 'prog-mode-hook 'display-fill-column-indicator-mode) |
|
|
|
|
|
|
|
|
|
|
|
;; Highlight parenthesis |
|
|
|
;; Highlight parenthesis |
|
|
|
(add-hook 'prog-mode-hook 'show-paren-mode) |
|
|
|
(add-hook 'prog-mode-hook 'show-paren-mode) |
|
|
|
|
|
|
|
|
|
|
@ -1366,6 +1373,11 @@ Set custom keybinds to functionality of custom packages. |
|
|
|
(general-def evil-normal-state-map |
|
|
|
(general-def evil-normal-state-map |
|
|
|
"C-n" 'neotree-toggle-in-project-root) |
|
|
|
"C-n" 'neotree-toggle-in-project-root) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Custom (M-x customize) |
|
|
|
|
|
|
|
(general-def 'normal custom-mode-map |
|
|
|
|
|
|
|
[down-mouse-1] #'widget-button-click |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
;; Dashboard |
|
|
|
;; Dashboard |
|
|
|
(general-def 'normal dashboard-mode-map |
|
|
|
(general-def 'normal dashboard-mode-map |
|
|
|
[down-mouse-1] 'widget-button-click |
|
|
|
[down-mouse-1] 'widget-button-click |
|
|
|