General cleanup & minor refactoring
This commit is contained in:
parent
b6f4fe667a
commit
4910531457
5 changed files with 12 additions and 12 deletions
|
@ -35,7 +35,10 @@
|
|||
evil-ex-search-vim-style-regexp t
|
||||
evil-ex-substitute-global t
|
||||
evil-ex-visual-char-range t ; column range for ex commands
|
||||
evil-insert-skip-empty-lines t)
|
||||
evil-insert-skip-empty-lines t
|
||||
|
||||
;; don't activate mark on shift-click
|
||||
shift-select-mode nil)
|
||||
|
||||
:config
|
||||
(evil-mode +1)
|
||||
|
@ -58,8 +61,6 @@
|
|||
(add-hook 'evil-operator-state-entry-hook 'show-paren-mode)
|
||||
(add-hook 'evil-operator-state-exit-hook '+evil|show-paren-mode-off)
|
||||
(add-hook 'evil-normal-state-entry-hook '+evil|show-paren-mode-off)
|
||||
;; Disable highlights on insert-mode
|
||||
;; (add-hook 'evil-insert-state-entry-hook 'evil-ex-nohighlight)
|
||||
|
||||
(@set :popup
|
||||
'("*evil-registers*" :size 0.3)
|
||||
|
|
|
@ -39,9 +39,7 @@
|
|||
|
||||
|
||||
;;
|
||||
(setq initial-major-mode '+doom-dashboard-mode
|
||||
initial-scratch-message "\n Loading..."
|
||||
doom-fallback-buffer +doom-dashboard-name)
|
||||
(setq doom-fallback-buffer +doom-dashboard-name)
|
||||
|
||||
(add-hook 'emacs-startup-hook '+doom-dashboard/open)
|
||||
(@add-hook 'kill-buffer-query-functions
|
||||
|
@ -62,7 +60,7 @@
|
|||
|
||||
;;
|
||||
(defun +doom-dashboard/open ()
|
||||
""
|
||||
"Open the dashboard buffer."
|
||||
(interactive)
|
||||
(+doom-dashboard-reload)
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
;;; ui/doom-modeline/config.el
|
||||
|
||||
(line-number-mode -1)
|
||||
|
||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||
(unless (display-graphic-p)
|
||||
(defalias 'all-the-icons-octicon 'ignore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue