diff options
Diffstat (limited to 'nix/users/fcuny')
| -rw-r--r-- | nix/users/fcuny/configs/emacs/init.el | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/nix/users/fcuny/configs/emacs/init.el b/nix/users/fcuny/configs/emacs/init.el index aa12575..a2ac78f 100644 --- a/nix/users/fcuny/configs/emacs/init.el +++ b/nix/users/fcuny/configs/emacs/init.el @@ -65,14 +65,31 @@ (global-set-key (kbd "C-c ! p") 'flymake-goto-prev-error) ;; load the PATH properly on macOS -;; FIXME (require 'exec-path-from-shell) (require 'exec-path-from-shell) (exec-path-from-shell-initialize) -;; TODO dired +;; ensure we highlights whitespaces +(require 'whitespace) +(dolist (mode-hook '(prog-mode-hook text-mode-hook conf-mode-hook)) + (add-hook mode-hook 'whitespace-mode)) + +(setq whitespace-style '(face trailing lines-tail)) +(setq-default show-trailing-whitespace t) +(setq-default indicate-empty-lines t) + +;;; dired +(require 'dired) +(setq dired-use-ls-dired t + dired-clean-up-buffers-too nil + dired-dwim-target t + dired-hide-details-hide-information-lines nil + dired-hide-details-hide-symlink-targets nil + dired-recursive-copies 'always + dired-recursive-deletes 'always + dired-no-confirm '(byte-compile chgrp chmod chown copy hardlink symlink touch)) -(require 'time) ;;; time related configurations +(require 'time) (setq display-time-24hr-format t display-time-interval 60 display-time-mode t |
