add commentary pkg

This commit is contained in:
petrucci4prez 2018-09-06 20:37:44 -04:00
parent c6b76bded2
commit 76a7010487
1 changed files with 41 additions and 24 deletions

View File

@ -1790,14 +1790,14 @@ I have current have three contexts, personal and two work accounts. The first is
(let ((pfx (mu4e-message-field msg :maildir))) (let ((pfx (mu4e-message-field msg :maildir)))
(string-prefix-p "/gmail" pfx)))) (string-prefix-p "/gmail" pfx))))
:vars '((mu4e-trash-folder . "/gmail/trash") :vars '((mu4e-trash-folder . "/gmail/trash")
(mu4e-drafts-folder . "/gmail/drafts") (mu4e-drafts-folder . "/gmail/drafts")
(mu4e-sent-folder . "/gmail/sent") (mu4e-sent-folder . "/gmail/sent")
(mu4e-sent-messages-behavior . delete) (mu4e-sent-messages-behavior . delete)
(smtpmail-stream-type . starttls) (smtpmail-stream-type . starttls)
(smtpmail-smtp-server . "smtp.gmail.com") (smtpmail-smtp-server . "smtp.gmail.com")
(smtpmail-smtp-service . 587) (smtpmail-smtp-service . 587)
(smtpmail-smtp-user . "natedwarshuis@gmail.com") (smtpmail-smtp-user . "natedwarshuis@gmail.com")
(user-mail-address . "natedwarshuis@gmail.com"))) (user-mail-address . "natedwarshuis@gmail.com")))
,(make-mu4e-context ,(make-mu4e-context
:name "gatech" :name "gatech"
:match-func :match-func
@ -1806,14 +1806,14 @@ I have current have three contexts, personal and two work accounts. The first is
(let ((pfx (mu4e-message-field msg :maildir))) (let ((pfx (mu4e-message-field msg :maildir)))
(string-prefix-p "/gatech" pfx)))) (string-prefix-p "/gatech" pfx))))
:vars '((mu4e-trash-folder . "/gatech/trash") :vars '((mu4e-trash-folder . "/gatech/trash")
(mu4e-drafts-folder . "/gatech/drafts") (mu4e-drafts-folder . "/gatech/drafts")
(mu4e-sent-folder . "/gatech/sent") (mu4e-sent-folder . "/gatech/sent")
(mu4e-sent-messages-behavior . sent) (mu4e-sent-messages-behavior . sent)
(smtpmail-stream-type . starttls) (smtpmail-stream-type . starttls)
(smtpmail-smtp-server . "smtp.office365.com") (smtpmail-smtp-server . "smtp.office365.com")
(smtpmail-smtp-service . 587) (smtpmail-smtp-service . 587)
(smtpmail-smtp-user . "ndwarshuis3@gatech.edu") (smtpmail-smtp-user . "ndwarshuis3@gatech.edu")
(user-mail-address . "ndwarshuis3@gatech.edu"))) (user-mail-address . "ndwarshuis3@gatech.edu")))
,(make-mu4e-context ,(make-mu4e-context
:name "emory" :name "emory"
:match-func :match-func
@ -1822,14 +1822,14 @@ I have current have three contexts, personal and two work accounts. The first is
(let ((pfx (mu4e-message-field msg :maildir))) (let ((pfx (mu4e-message-field msg :maildir)))
(string-prefix-p "/emory" pfx)))) (string-prefix-p "/emory" pfx))))
:vars '((mu4e-trash-folder . "/emory/trash") :vars '((mu4e-trash-folder . "/emory/trash")
(mu4e-drafts-folder . "/emory/drafts") (mu4e-drafts-folder . "/emory/drafts")
(mu4e-sent-folder . "/emory/sent") (mu4e-sent-folder . "/emory/sent")
(mu4e-sent-messages-behavior . sent) (mu4e-sent-messages-behavior . sent)
(smtpmail-stream-type . starttls) (smtpmail-stream-type . starttls)
(smtpmail-smtp-server . "smtp.office365.com") (smtpmail-smtp-server . "smtp.office365.com")
(smtpmail-smtp-service . 587) (smtpmail-smtp-service . 587)
(smtpmail-smtp-user . "ndwarsh@emory.edu") (smtpmail-smtp-user . "ndwarsh@emory.edu")
(user-mail-address . "ndwarsh@emory.edu"))))) (user-mail-address . "ndwarsh@emory.edu")))))
#+END_SRC #+END_SRC
* shell * shell
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1865,6 +1865,23 @@ delightfully ripped off from vim plugins
:config :config
(global-evil-surround-mode 1)) (global-evil-surround-mode 1))
#+END_SRC #+END_SRC
**** commentary
#+BEGIN_SRC emacs-lisp
(use-package evil-commentary
:ensure t
:after evil
:delight
:config
(evil-commentary-mode))
#+END_SRC
**** replace with register
#+BEGIN_SRC emacs-lisp
(use-package evil-replace-with-register
:ensure t
:after evil
:config
(evil-replace-with-register-install))
#+END_SRC
*** unbind emacs keys *** unbind emacs keys
Some of these commands just get in the way of being evil (which really means that I keep pressing them on accident). Rather than nullifying them completely, tuck them away in the emacs state map in case I actually want them. Some of these commands just get in the way of being evil (which really means that I keep pressing them on accident). Rather than nullifying them completely, tuck them away in the emacs state map in case I actually want them.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp