diff options
-rw-r--r-- | .bashrc | 6 | ||||
-rw-r--r-- | .config/emacs/modules/mm-calc.el | 2 | ||||
-rw-r--r-- | .config/emacs/modules/mm-dired.el | 15 | ||||
-rw-r--r-- | .config/emacs/modules/mm-editing.el | 4 |
4 files changed, 19 insertions, 8 deletions
@@ -102,9 +102,9 @@ alias ..='cd ..' alias d='git --git-dir="$REPODIR/Mango0x45/dotfiles.git" --work-tree="$HOME"' alias g=git alias grep='grep --color=auto' -alias la='ls --color=auto -A' -alias ll='ls --color=auto -Alh' -alias ls='ls --color=auto' +alias la='ls --color=auto -Av --group-directories-first' +alias ll='ls --color=auto -AGhlv --group-directories-first --time-style="+%d %b %Y %T"' +alias ls='ls --color=auto -v --group-directories-first' alias sl='sl -ac5' alias sv=sudoedit alias v="$VISUAL" 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 |