summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/mm-calc.el2
-rw-r--r--.config/emacs/modules/mm-dired.el15
-rw-r--r--.config/emacs/modules/mm-editing.el4
3 files changed, 16 insertions, 5 deletions
diff --git a/.config/emacs/modules/mm-calc.el b/.config/emacs/modules/mm-calc.el
index f87a93a..af45b15 100644
--- a/.config/emacs/modules/mm-calc.el
+++ b/.config/emacs/modules/mm-calc.el
@@ -10,4 +10,4 @@
calc-point-char ","
calc-group-char "."))
-(provide 'mm-calc)
+(provide 'mm-calc) \ No newline at end of file
diff --git a/.config/emacs/modules/mm-dired.el b/.config/emacs/modules/mm-dired.el
index ada73a3..a86ad4f 100644
--- a/.config/emacs/modules/mm-dired.el
+++ b/.config/emacs/modules/mm-dired.el
@@ -3,7 +3,16 @@
(use-package dired
:hook ((dired-mode . dired-omit-mode)
(dired-mode . dired-hide-details-mode))
- :bind (:map dired-mode-map
- ("f" . find-file)))
+ :bind ( :map dired-mode-map
+ ("f" . find-file))
+ :custom
+ (dired-auto-revert-buffer #'dired-directory-changed-p)
+ (dired-dwim-target t)
+ (dired-free-space nil)
+ (dired-recursive-copies 'always)
+ (dired-recursive-deletes 'always)
+ (dired-listing-switches
+ (combine-and-quote-strings
+ '("-AFGhlv" "--group-directories-first" "--time-style=+%d %b %Y %T"))))
-(provide 'mm-dired)
+(provide 'mm-dired) \ No newline at end of file
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index d3bd7eb..50a31c9 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -52,7 +52,8 @@
(go-mod-ts-mode . (:extras go-ts-mode-indent-offset))
(go-ts-mode . (:extras go-ts-mode-indent-offset))
(gsp-ts-mode . (:width 2 :extras gsp-ts-mode-indent-rules))
- (helpful-mode . (:width 8)) ; GNU code uses 8-column tabs
+ (helpful-mode . (:width 8)) ; GNU code uses 8-column tabs
+ (latex-mode . (:width 2))
(lisp-data-mode . (:spaces t))
(lisp-interaction-mode . (:spaces t))
(lisp-mode . (:spaces t))
@@ -62,6 +63,7 @@
(python-ts-mode . (:extras python-indent-offset))
(sgml-mode . (:extras sgml-basic-offset))
(sh-mode . (:extras sh-basic-offset))
+ (tex-mode . (:width 2))
(vimscript-ts-mode . (:extras vimscript-ts-mode-indent-level)))
"Alist of indentation settings.
Each pair in this alist is of the form (MODE . SETTINGS) where MODE