diff options
author | JSDurand <mmemmew@gmail.com> | 2021-01-20 11:08:00 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-01-20 17:10:01 +0800 |
commit | 53db9402916822e673b3b49fcba26537e2416b59 (patch) | |
tree | 7f999ef9f995871d53051b487cd347876c5e43ce /basic.el | |
parent | 4d28d444af32ddf4af5900786473fadacc43e4b1 (diff) |
More QoL changes
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line.
(auto-revert-mode): Hide auto-revert-mode from the mode line.
* common.el (durand-hide-minor-mode): Use a simple macro to facilitate
hiding.
* elisp.el (eldoc-mode): Use a macro to hide instead.
* eww-conf.el (eww-bookmarks-directory): Start Configuring EWW.
* init.el ("durand-simple"): My simple utilities.
("search-conf.el"): Configuring searching.
* search-conf.el (search-whitespace-regexp): White space as wild cards
(isearch-lax-whitespace): as above
(isearch-lazy-count): Count the matches
(isearch-allow-scroll): Scrolling while searching
(durand-search-replace-symbol): For quick refactoring
* text-conf.el (assq): Hide using the macro instead.
Diffstat (limited to 'basic.el')
-rw-r--r-- | basic.el | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -203,6 +203,16 @@ I stole from Protesilaos' dotemacs.") (set 'adaptive-fill-mode t) (add-hook 'text-mode-hook #'auto-fill-mode) +;;; Hide auto-fill mode in the mode line. + +;; The original value is " Fill" +(durand-hide-minor-mode auto-fill-function) + +;;; Hide auto-revert-mode + +;; The original is auto-revert-mode-text +(durand-hide-minor-mode auto-revert-mode) + ;;; enable all commands (set 'disabled-command-function nil) @@ -221,6 +231,7 @@ I stole from Protesilaos' dotemacs.") (define-key global-map (vector ?\s-o) #'other-window) (define-key global-map (vector ?\s-&) #'delete-other-windows) (define-key global-map (vector ?\s-à) #'delete-window) +(define-key global-map (vector ?\C-+) #'enlarge-window) (define-key global-map (vector ?\s-f) #'find-file) (define-key global-map (vector ?\s-v) #'durand-focus-completion-or-minibuffer) @@ -240,3 +251,4 @@ The remaining CONFIGS are evaluated after the package is loaded." (expand-file-name ,package-path ,package-dir)) (require ,package-name) ,@configs)) + |