diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-17 19:21:30 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-03-17 19:21:30 +0100 |
commit | 44bb371718ec71e8f7580b7b0dfca045ccd309a3 (patch) | |
tree | 6e680ff3ef6c3b82c96eadba19acba21a2a3beeb | |
parent | 09c670cff5d159270eb1e21cb10da22e52d60d65 (diff) |
Adjust Emacs configuration, mostly remove autoscroll
-rw-r--r-- | systems/izumi/home-files/emacs-configuration.el | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/systems/izumi/home-files/emacs-configuration.el b/systems/izumi/home-files/emacs-configuration.el index 6be9834..a824d84 100644 --- a/systems/izumi/home-files/emacs-configuration.el +++ b/systems/izumi/home-files/emacs-configuration.el @@ -5,7 +5,7 @@ ;;; Theme Activation (load-theme 'misterioso) -(global-visual-line-mode t) +(setq-default truncate-lines t) ;;; Disable Org Indent Mode (add-hook 'org-mode-hook (lambda () (org-indent-mode -1))) @@ -30,9 +30,10 @@ (setq-default inhibit-startup-screen t) ;; Enable the column-80 line -(setq-default display-fill-column-indicator-column 70 +(setq-default display-fill-column-indicator-column 80 fill-column 80 auto-fill-function 'do-auto-fill) +(set-face-attribute 'fill-column-indicator nil :foreground "green") (global-display-fill-column-indicator-mode) ;;; Enable Org Modern Style @@ -84,12 +85,6 @@ ;; (require 'nix-mode) ;; (add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode)) - -(setq scroll-preserve-screen-position t - scroll-conservatively 0 - maximum-scroll-margin 0.5 - scroll-margin 99999) - (setq tramp-remote-path (append tramp-remote-path '(tramp-own-remote-path |