diff options
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | bash/symlinks.sh | 7 | ||||
-rw-r--r-- | emacs/not-much.el | bin | 0 -> 1135 bytes | |||
-rw-r--r-- | mail/mbsyncrc.ini | bin | 1830 -> 1970 bytes | |||
-rwxr-xr-x | mail/notmuch-post.sh | bin | 0 -> 4054 bytes | |||
-rw-r--r-- | mail/notmuch.ini | bin | 0 -> 278 bytes | |||
-rw-r--r-- | nixos/configuration.nix | 4 | ||||
-rw-r--r-- | spacemacs.el | 20 |
8 files changed, 26 insertions, 6 deletions
diff --git a/.gitattributes b/.gitattributes index c2a60e3..8b3ca14 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,4 @@ lein/profiles.clj filter=git-crypt diff=git-crypt vps/docker-compose.yml filter=git-crypt diff=git-crypt git/gitconfig.ini filter=git-crypt diff=git-crypt emacs/gnus.el filter=git-crypt diff=git-crypt +emacs/not-much.el filter=git-crypt diff=git-crypt diff --git a/bash/symlinks.sh b/bash/symlinks.sh index 76075f6..4ee3470 100644 --- a/bash/symlinks.sh +++ b/bash/symlinks.sh @@ -49,8 +49,11 @@ ln -fs $DOTFILES/xmonad/xmonad.hs ~/.xmonad/xmonad.hs ln -fs $DOTFILES/xmonad/xmobar.hs ~/.xmobarrc # OfflineIMAP -ln -fs $DOTFILES/mail/offlineimaprc.ini ~/.offlineimaprc -# ln -fs $DOTFILES/mail/mbsyncrc.ini ~/.mbsyncrc +ln -fs $DOTFILES/mail/mbsyncrc.ini ~/.mbsyncrc +ln -fs $DOTFILES/mail/notmuch.ini ~/.notmuch-config +mkdir -p ~/mbsync/.notmuch/hooks ~/mbsync/EuAndreh ~/mbsync/Gmail ~/mbsync/Nubank +ln -fs $DOTFILES/mail/notmuch-post.sh ~/mbsync/.notmuch/hooks/post-new + # GNUS ln -fs $DOTFILES/encrypted/IMAP/authinfo.gpg ~/.authinfo.gpg diff --git a/emacs/not-much.el b/emacs/not-much.el Binary files differnew file mode 100644 index 0000000..d3661b4 --- /dev/null +++ b/emacs/not-much.el diff --git a/mail/mbsyncrc.ini b/mail/mbsyncrc.ini Binary files differindex 84bb90c..28951a4 100644 --- a/mail/mbsyncrc.ini +++ b/mail/mbsyncrc.ini diff --git a/mail/notmuch-post.sh b/mail/notmuch-post.sh Binary files differnew file mode 100755 index 0000000..8664a4d --- /dev/null +++ b/mail/notmuch-post.sh diff --git a/mail/notmuch.ini b/mail/notmuch.ini Binary files differnew file mode 100644 index 0000000..df72a7d --- /dev/null +++ b/mail/notmuch.ini diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 9bd5980..f3ecc8f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -152,8 +152,8 @@ sshpass zathura # for viewing Emacs PDF files timidity - mu - offlineimap + notmuch + isync cacert kiwix gtypist diff --git a/spacemacs.el b/spacemacs.el index 87fa241..b4126d9 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -57,6 +57,7 @@ This function should only modify configuration layer settings." lua markdown nixos + notmuch nu-clojure pdf perl5 @@ -551,7 +552,9 @@ dump." ("M-SPC" . (lambda () (interactive) (just-one-space -1))) ("M-[" . (lambda () (interactive) (find-file "~/tmp/scratch.org"))))) +;; FIXME: put in a layer (defvar custom-el-files '("~/annex/dev/code/dotfiles/emacs/re-jump.el" + "~/annex/dev/code/dotfiles/emacs/not-much.el" "~/quicklisp/slime-helper.el")) (defmacro measure-time (&rest body) @@ -582,6 +585,7 @@ This is the place where most of your configurations should be done. Unless it is (projectile-cleanup-known-projects) (spacemacs/set-leader-keys + "an" 'notmuch "/" 'engine/search-duck-duck-go "d" 'spacemacs/delete-window "w/" 'split-window-right-and-focus @@ -861,12 +865,24 @@ This function is called at the very end of Spacemacs initialization." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(notmuch-saved-searches + (quote + ((:name "inbox" :query "tag:inbox" :key "i") + (:name "unread" :query "tag:unread" :key "u") + (:name "flagged" :query "tag:flagged" :key "f") + (:name "sent" :query "tag:sent" :key "t") + (:name "drafts" :query "tag:draft" :key "d") + (:name "all mail" :query "*" :key "a") + (:name "guixsd" :query "tag:guixsd")))) '(package-selected-packages (quote - (unicode-fonts ucs-utils font-utils persistent-soft list-utils key-chord mu4e-maildirs-extension mu4e-alert helm-mu engine-mode debbugs soap-client yasnippet-snippets yapfify yaml-mode xterm-color ws-butler winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package unfill toml-mode toc-org tide tagedit symon swift-mode string-inflection sql-indent spaceline-all-the-icons smtpmail-multi smeargle slime-company slim-mode shell-pop scss-mode sayid sass-mode rvm ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restclient-helm restart-emacs rbenv rake rainbow-delimiters racer pyvenv pytest pyenv-mode py-isort pug-mode psci psc-ide powershell popwin pippel pipenv pip-requirements persp-mode perl6-mode pdf-tools password-generator paradox ox-reveal overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file ob-restclient ob-http ob-elixir nov nix-mode neotree nameless mwim multi-term move-text mmm-mode minitest midje-mode markdown-toc magithub magit-svn magit-gitflow magit-gh-pulls lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode ledger-mode json-navigator js2-refactor js-doc jinja2-mode intero interleave insert-shebang indent-guide importmagic impatient-mode hungry-delete hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation helm-xref helm-themes helm-swoop helm-pydoc helm-purpose helm-projectile helm-nixos-options helm-mode-manager helm-make helm-hoogle helm-gitignore helm-flx helm-descbinds helm-css-scss helm-company helm-c-yasnippet helm-ag haskell-snippets google-translate golden-ratio gnuplot gitignore-templates github-search github-clone gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gist gh-md geiser fuzzy font-lock+ flyspell-correct-helm flycheck-rust flycheck-pos-tip flycheck-perl6 flycheck-mix flycheck-ledger flycheck-haskell flycheck-elm flycheck-credo flycheck-bashate flx-ido fish-mode fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-cleverparens evil-args evil-anzu eshell-z eshell-prompt-extras esh-help erlang emmet-mode elm-mode elisp-slime-nav editorconfig dumb-jump dotenv-mode dockerfile-mode docker diminish diff-hl define-word dante cython-mode csv-mode counsel-projectile company-web company-tern company-statistics company-shell company-restclient company-plsense company-nixos-options company-lua company-ghci company-ghc company-cabal company-auctex company-ansible company-anaconda common-lisp-snippets column-enforce-mode cmm-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode cargo bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile auctex-latexmk ansible-doc ansible alchemist aggressive-indent ace-window ace-link ace-jump-helm-line ac-ispell))) + (helm-notmuch notmuch unicode-fonts ucs-utils font-utils persistent-soft list-utils key-chord mu4e-maildirs-extension mu4e-alert helm-mu engine-mode debbugs soap-client yasnippet-snippets yapfify yaml-mode xterm-color ws-butler winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package unfill toml-mode toc-org tide tagedit symon swift-mode string-inflection sql-indent spaceline-all-the-icons smtpmail-multi smeargle slime-company slim-mode shell-pop scss-mode sayid sass-mode rvm ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restclient-helm restart-emacs rbenv rake rainbow-delimiters racer pyvenv pytest pyenv-mode py-isort pug-mode psci psc-ide powershell popwin pippel pipenv pip-requirements persp-mode perl6-mode pdf-tools password-generator paradox ox-reveal overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file ob-restclient ob-http ob-elixir nov nix-mode neotree nameless mwim multi-term move-text mmm-mode minitest midje-mode markdown-toc magithub magit-svn magit-gitflow magit-gh-pulls lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode ledger-mode json-navigator js2-refactor js-doc jinja2-mode intero interleave insert-shebang indent-guide importmagic impatient-mode hungry-delete hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation helm-xref helm-themes helm-swoop helm-pydoc helm-purpose helm-projectile helm-nixos-options helm-mode-manager helm-make helm-hoogle helm-gitignore helm-flx helm-descbinds helm-css-scss helm-company helm-c-yasnippet helm-ag haskell-snippets google-translate golden-ratio gnuplot gitignore-templates github-search github-clone gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gist gh-md geiser fuzzy font-lock+ flyspell-correct-helm flycheck-rust flycheck-pos-tip flycheck-perl6 flycheck-mix flycheck-ledger flycheck-haskell flycheck-elm flycheck-credo flycheck-bashate flx-ido fish-mode fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-cleverparens evil-args evil-anzu eshell-z eshell-prompt-extras esh-help erlang emmet-mode elm-mode elisp-slime-nav editorconfig dumb-jump dotenv-mode dockerfile-mode docker diminish diff-hl define-word dante cython-mode csv-mode counsel-projectile company-web company-tern company-statistics company-shell company-restclient company-plsense company-nixos-options company-lua company-ghci company-ghc company-cabal company-auctex company-ansible company-anaconda common-lisp-snippets column-enforce-mode cmm-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode cargo bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile auctex-latexmk ansible-doc ansible alchemist aggressive-indent ace-window ace-link ace-jump-helm-line ac-ispell))) '(safe-local-variable-values (quote - ((eval progn + ((eval modify-syntax-entry 43 "'") + (eval modify-syntax-entry 36 "'") + (eval modify-syntax-entry 126 "'") + (eval progn (pp-buffer) (indent-buffer)) (typescript-backend . tide) |