added file shortcuts, updated email settings

This commit is contained in:
Phuntsok Drak-pa 2019-10-24 17:57:57 +02:00
parent d57a25c0ae
commit 935e958679
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 87 additions and 84 deletions

View File

@ -709,9 +709,11 @@ dump."
(spacemacs/declare-prefix "oa" "applications") (spacemacs/declare-prefix "oa" "applications")
(spacemacs/declare-prefix "oc" "comments") (spacemacs/declare-prefix "oc" "comments")
(spacemacs/declare-prefix "of" "files") (spacemacs/declare-prefix "of" "files")
(spacemacs/declare-prefix "ofb" ".local/bin sources")
(spacemacs/declare-prefix "off" "fish config") (spacemacs/declare-prefix "off" "fish config")
(spacemacs/declare-prefix "ofi" "i3 config") (spacemacs/declare-prefix "ofi" "i3 config")
(spacemacs/declare-prefix "ofp" "polybar config") (spacemacs/declare-prefix "ofp" "polybar config")
(spacemacs/declare-prefix "ofb" "yadm README")
(spacemacs/declare-prefix "og" "gnus") (spacemacs/declare-prefix "og" "gnus")
(spacemacs/declare-prefix "oi" "insert") (spacemacs/declare-prefix "oi" "insert")
(spacemacs/declare-prefix "oii" "invisible space") (spacemacs/declare-prefix "oii" "invisible space")
@ -739,9 +741,11 @@ dump."
"oco" 'outline-minor-mode "oco" 'outline-minor-mode
"od" 'elcord-mode "od" 'elcord-mode
"oF" 'flycheck-mode "oF" 'flycheck-mode
"off" (lambda () (interactive) (find-file "~/.config/fish/config.fish")) "ofb" (lambda () (interactive) (find-file "~/.local/bin/README.org"))
"off" (lambda () (interactive) (find-file "~/.config/fish/README.org"))
"ofi" (lambda () (interactive) (find-file "~/.config/i3/config##yadm.j2")) "ofi" (lambda () (interactive) (find-file "~/.config/i3/config##yadm.j2"))
"ofp" (lambda () (interactive) (find-file "~/.config/polybar/config##yadm.j2")) "ofp" (lambda () (interactive) (find-file "~/.config/polybar/config##yadm.j2"))
"ofr" (lambda () (interactive) (find-file "~/README.org"))
"ofo" 'find-file-at-point "ofo" 'find-file-at-point
"ogd" 'turn-on-gnus-dired-mode "ogd" 'turn-on-gnus-dired-mode
"oii" (lambda () (interactive) (insert "")) "oii" (lambda () (interactive) (insert ""))
@ -770,16 +774,16 @@ dump."
;; get email, store in nnml ;; get email, store in nnml
(setq gnus-secondary-select-methods '((nnimap "1and1" (setq gnus-secondary-select-methods '((nnimap "1and1"
(nnimap-address (nnimap-address
"imap.1and1.fr") "imap.ionos.fr")
(nnimap-server-port 993) (nnimap-server-port 143)
(nnimap-stream ssl))) (nnimap-stream ssl)))
;; send email via 1and1 ;; send email via 1and1
message-send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-server "auth.smtp.1and1.fr" smtpmail-smtp-server "smtp.ionos.fr"
smtpmail-stream-type 'ssl smtpmail-stream-type 'startls
smtpmail-smtp-service 465 smtpmail-smtp-service 587
;; archive outgoing emails in Sent folder on imap.1and1.fr ;; archive outgoing emails in Sent folder on imap.1and1.fr
gnus-message-archive-method '(nnimap "imap.1and1.fr") gnus-message-archive-method '(nnimap "imap.ionos.fr")
gnus-message-archive-group "Objets envoyés" gnus-message-archive-group "Objets envoyés"
;; store email in ~/Mails directory ;; store email in ~/Mails directory
nnml-directory "~/Mails" nnml-directory "~/Mails"
@ -796,7 +800,7 @@ dump."
; Dired ; ; Dired ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq dired-recursive-copies (quote always) (setq dired-recursive-copies 'always
dired-dwim-target t dired-dwim-target t
dired-listing-switches "-ahl --group-directories-first") dired-listing-switches "-ahl --group-directories-first")
(require 'org-download) (require 'org-download)
@ -1150,79 +1154,78 @@ double-quotes matter and must be escaped appropriately."
This is an auto-generated function, do not modify its content directly, use This is an auto-generated function, do not modify its content directly, use
Emacs customize menu instead. Emacs customize menu instead.
This function is called at the very end of Spacemacs initialization." This function is called at the very end of Spacemacs initialization."
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(ansi-color-faces-vector '(ansi-color-faces-vector
[default default default italic underline success warning error]) [default default default italic underline success warning error])
'(ansi-color-names-vector '(ansi-color-names-vector
["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"]) ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
'(default-input-method "ipa-x-sampa") '(default-input-method "ipa-x-sampa")
'(eshell-aliases-file "/home/phundrak/.emacs.d/private/eshell-alias") '(eshell-aliases-file "/home/phundrak/.emacs.d/private/eshell-alias")
'(evil-want-Y-yank-to-eol nil) '(evil-want-Y-yank-to-eol nil)
'(fci-rule-color "#5B6268") '(fci-rule-color "#5B6268")
'(hl-todo-keyword-faces '(hl-todo-keyword-faces
(quote (quote
(("TODO" . "#dc752f") (("TODO" . "#dc752f")
("NEXT" . "#dc752f") ("NEXT" . "#dc752f")
("THEM" . "#2d9574") ("THEM" . "#2d9574")
("PROG" . "#3a81c3") ("PROG" . "#3a81c3")
("OKAY" . "#3a81c3") ("OKAY" . "#3a81c3")
("DONT" . "#f2241f") ("DONT" . "#f2241f")
("FAIL" . "#f2241f") ("FAIL" . "#f2241f")
("DONE" . "#42ae2c") ("DONE" . "#42ae2c")
("NOTE" . "#b1951d") ("NOTE" . "#b1951d")
("KLUDGE" . "#b1951d") ("KLUDGE" . "#b1951d")
("HACK" . "#b1951d") ("HACK" . "#b1951d")
("TEMP" . "#b1951d") ("TEMP" . "#b1951d")
("FIXME" . "#dc752f") ("FIXME" . "#dc752f")
("XXX" . "#dc752f") ("XXX" . "#dc752f")
("XXXX" . "#dc752f")))) ("XXXX" . "#dc752f"))))
'(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef")) '(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef"))
'(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65")) '(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65"))
'(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a")) '(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a"))
'(objed-cursor-color "#ff6c6b") '(objed-cursor-color "#ff6c6b")
'(org-export-headline-levels 4) '(org-export-headline-levels 4)
'(package-selected-packages '(package-selected-packages
(quote (quote
(jinja2-mode company-ansible ansible-doc ansible xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))) (diredfl dired xkcd vmd-mode visual-fill-column typit mmt sudoku restclient-helm pony-mode pacmacs ox-reveal outorg ob-restclient ob-http meson-mode ibuffer-projectile lv helm-w3m w3m graphviz-dot-mode flycheck-gometalinter transient ess-smart-equals ess-R-data-view ctable ess julia-mode eshell-git-prompt emoji-cheat-sheet-plus edit-indirect dockerfile-mode docker docker-tramp company-restclient restclient know-your-http-well company-quickhelp company-emoji company-emacs-eclim eclim atomic-chrome websocket 2048-game ox-gfm slime-company slime common-lisp-snippets erlang insert-shebang fish-mode company-shell faceup racket-mode treepy graphql yapfify yaml-mode xterm-color web-beautify twittering-mode toml-mode tagedit stickyfunc-enhance smeargle slim-mode shell-pop selectric-mode scss-mode sass-mode ranger rainbow-identifiers pytest pyenv-mode py-isort pug-mode plantuml-mode phpunit phpcbf php-auto-yasnippets pdf-tools tablist ox-pandoc orgit org-present org-pomodoro alert log4e gntp ob-elixir multi-term markdown-toc magit-gitflow magit-gh-pulls livid-mode live-py-mode json-snatcher js2-refactor js-doc htmlize hlint-refactor hindent helm-pydoc helm-hoogle helm-gitignore helm-css-scss haskell-snippets haml-mode gnuplot glsl-mode gitignore-mode github-search github-clone github-browse-file gitconfig-mode gitattributes-mode git-messenger gist gh marshal logito pcache ht gh-md flyspell-correct-helm flyspell-correct flycheck-rust pos-tip flycheck-mix flycheck-credo eshell-z eshell-prompt-extras esh-help drupal-mode disaster cython-mode dash-functional tern company-ghci company-ghc ghc color-identifiers-mode cmm-mode clang-format cargo auto-dictionary alchemist modern-cpp-font-lock yasnippet-snippets x86-lookup web-mode srefactor racer pyvenv pip-requirements pandoc-mode org-projectile org-category-capture org-mime org-download nasm-mode json-reformat intero imenu-list hy-mode git-timemachine git-link geiser flycheck-pos-tip flycheck-haskell evil-magit emmet-mode cmake-mode anaconda-mode rust-mode elixir-mode flycheck haskell-mode multiple-cursors skewer-mode simple-httpd markdown-mode magit magit-popup git-commit ghub with-editor pythonic emms gmail-message-mode ham-mode html-to-markdown flymd edit-server image-dired+ go-guru go-eldoc company-go go-mode unfill mwim company-web web-completion-data company-tern company-cabal company-c-headers company-auctex company-anaconda elcord xresources-theme sql-indent rainbow-mode php-extras php-mode mmm-mode json-mode js2-mode csv-mode coffee-mode auctex helm-company helm-c-yasnippet fuzzy company-statistics company auto-yasnippet yasnippet ac-ispell auto-complete ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
'(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef"))) '(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef")))
'(safe-local-variable-values '(safe-local-variable-values
(quote (quote
((org-confirm-babel-evaluate) ((org-confirm-babel-evaluate)
(javascript-backend . tern) (javascript-backend . tern)
(javascript-backend . lsp) (javascript-backend . lsp)
(go-backend . go-mode) (go-backend . go-mode)
(go-backend . lsp)))) (go-backend . lsp))))
'(solaire-mode-auto-swap-bg t) '(solaire-mode-auto-swap-bg t)
'(vc-annotate-background "#282c34") '(vc-annotate-background "#282c34")
'(vc-annotate-color-map '(vc-annotate-color-map
(list (list
(cons 20 "#98be65") (cons 20 "#98be65")
(cons 40 "#b4be6c") (cons 40 "#b4be6c")
(cons 60 "#d0be73") (cons 60 "#d0be73")
(cons 80 "#ECBE7B") (cons 80 "#ECBE7B")
(cons 100 "#e6ab6a") (cons 100 "#e6ab6a")
(cons 120 "#e09859") (cons 120 "#e09859")
(cons 140 "#da8548") (cons 140 "#da8548")
(cons 160 "#d38079") (cons 160 "#d38079")
(cons 180 "#cc7cab") (cons 180 "#cc7cab")
(cons 200 "#c678dd") (cons 200 "#c678dd")
(cons 220 "#d974b7") (cons 220 "#d974b7")
(cons 240 "#ec7091") (cons 240 "#ec7091")
(cons 260 "#ff6c6b") (cons 260 "#ff6c6b")
(cons 280 "#cf6162") (cons 280 "#cf6162")
(cons 300 "#9f585a") (cons 300 "#9f585a")
(cons 320 "#6f4e52") (cons 320 "#6f4e52")
(cons 340 "#5B6268") (cons 340 "#5B6268")
(cons 360 "#5B6268"))) (cons 360 "#5B6268")))
'(vc-annotate-very-old-color nil)) '(vc-annotate-very-old-color nil))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
) ))
)