Modes should be enabled with a postive ARG

This commit is contained in:
Wojciech Kozlowski 2022-04-10 19:39:02 +02:00
parent 9fea95082f
commit 8a588cbd4c

View File

@ -184,7 +184,7 @@
(use-package! whole-line-or-region (use-package! whole-line-or-region
:config :config
(define-key whole-line-or-region-local-mode-map [remap comment-dwim] nil) (define-key whole-line-or-region-local-mode-map [remap comment-dwim] nil)
(whole-line-or-region-global-mode t)) (whole-line-or-region-global-mode +1))
;; ----------------------------------------------------------------------------- ;; -----------------------------------------------------------------------------
;; Global configuration. ;; Global configuration.
@ -205,10 +205,10 @@
whitespace-line-column fill-column) whitespace-line-column fill-column)
;; CamelCase as separate words. ;; CamelCase as separate words.
(global-subword-mode t) (global-subword-mode +1)
;; Doom emacs recommends `visual-line-mode' as it claims wrapping is expensive. ;; Doom emacs recommends `visual-line-mode' as it claims wrapping is expensive.
(global-visual-line-mode t) (global-visual-line-mode +1)
;; But "C-e" behaves differently in `visual-line-mode' than when they are ;; But "C-e" behaves differently in `visual-line-mode' than when they are
;; wrapped. It goes to the end of the visual line, not the logical line. This ;; wrapped. It goes to the end of the visual line, not the logical line. This