diff --git a/init.el b/init.el index 36f0b36..dd1bd2e 100644 --- a/init.el +++ b/init.el @@ -42,6 +42,8 @@ (add-hook 'before-save-hook 'delete-trailing-whitespace) ; 保存时清除行尾空格 +(setq dired-listing-switches "-ahl --group-directories-first") ;; 设置 Dired 默认传递给 ls 的参数 + (setq mac-command-modifier 'meta) (setq confirm-kill-emacs 'y-or-n-p)