X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/727d14d355c373d45f10ac29a9bc01abb42b7c9d..348511ef44b092085ae827fe9e70c0a228d7f49b:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c2b20ba..ba8deb9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -216,7 +216,6 @@ (exec-path-from-shell-copy-env "SSH_AGENT_PID") (exec-path-from-shell-copy-env "SSH_AUTH_SOCK")) - ;; only one custom theme at a time (comment (defadvice load-theme (before clear-previous-themes activate) @@ -1375,7 +1374,10 @@ For disabling the behaviour for certain buffers and/or modes." :map term-raw-map ("C-c C-j" . term-line-mode)) :config - (setq multi-term-program "/bin/screen" + (setq multi-term-program "screen" + multi-term-program-switches (concat "-c" + (getenv "XDG_CONFIG_HOME") + "/screen/screenrc") ;; TODO: add separate bindings for connecting to existing ;; session vs. always creating a new one multi-term-dedicated-select-after-open-p t @@ -1699,6 +1701,15 @@ For disabling the behaviour for certain buffers and/or modes." :config (setq gnus-permanently-visible-groups "\\(:INBOX$\\|:gnu$\\)")) +(use-feature gnus-win + :config + (setq gnus-use-full-window nil)) + +(use-feature gnus-dired + :commands gnus-dired-mode + :init + (add-hook 'dired-mode-hook 'gnus-dired-mode)) + (use-feature mm-decode :config (setq mm-discouraged-alternatives '("text/html" "text/richtext")))