From 0f3e4b1622ec975c1ec2726e59ae0cf1c9d22ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Wed, 6 Jan 2016 09:44:10 -0500 Subject: Remove nyan cat from emacs. --- spacemacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index 21848b3..a10746f 100644 --- a/spacemacs +++ b/spacemacs @@ -48,7 +48,7 @@ values." ;; wrapped in a layer. If you need some configuration for these ;; packages then consider to create a layer, you can also put the ;; configuration in `dotspacemacs/config'. - dotspacemacs-additional-packages '(nyan-mode) + dotspacemacs-additional-packages '() ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '(smartparens) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that -- cgit v1.2.3 From 2719fddaa4b42e45a7d23c196d35d16d7c84a6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Tue, 9 Feb 2016 16:38:59 -0500 Subject: Install magit on the spaceship. --- spacemacs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index a10746f..4f92f27 100644 --- a/spacemacs +++ b/spacemacs @@ -34,7 +34,7 @@ values." javascript markdown haskell - ;; git + git markdown org ;; (shell :variables @@ -42,7 +42,7 @@ values." ;; shell-default-position 'bottom) spell-checking ;; syntax-checking - ;; version-control + version-control ) ;; List of additional packages that will be installed without being ;; wrapped in a layer. If you need some configuration for these @@ -54,7 +54,7 @@ values." ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that ;; are declared in a layer which is not a member of ;; the list `dotspacemacs-configuration-layers'. (default t) - dotspacemacs-delete-orphan-packages t)) + dotspacemacs-delete-orphan-packages nil)) (defun dotspacemacs/init () "Initialization function. @@ -250,4 +250,7 @@ layers configuration. You are free to put any user code." (kj-bindings) (kj-org-config) (load-file "~/.spacemacs.local") + ;; I have been warned about magit stealing my files: + (setq magit-last-seen-setup-instructions "1.4.0") + (setq-default git-magit-status-fullscreen t) ) -- cgit v1.2.3 From 7d227de502e327972d4e5e6455a09bb3f2f68699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Tue, 9 Feb 2016 16:40:16 -0500 Subject: Add nxml to the spaceship. --- spacemacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index 4f92f27..80db1c0 100644 --- a/spacemacs +++ b/spacemacs @@ -48,7 +48,7 @@ values." ;; wrapped in a layer. If you need some configuration for these ;; packages then consider to create a layer, you can also put the ;; configuration in `dotspacemacs/config'. - dotspacemacs-additional-packages '() + dotspacemacs-additional-packages '(nxml) ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '(smartparens) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that -- cgit v1.2.3 From fdedec1b4ecd17106603c2960f78253625d1d125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Tue, 9 Feb 2016 16:40:49 -0500 Subject: Minor spaceship improvements. --- spacemacs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index 80db1c0..23b3f25 100644 --- a/spacemacs +++ b/spacemacs @@ -222,7 +222,7 @@ user code." (lambda () (interactive) (org-capture nil "t"))) (evil-leader/set-key-for-mode - 'org-mode "mh" 'org-up-element) + 'org-mode "oh" 'org-up-element) ) (defun kj-org-config () @@ -250,6 +250,9 @@ layers configuration. You are free to put any user code." (kj-bindings) (kj-org-config) (load-file "~/.spacemacs.local") + ;; Show 80-column marker + (define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) + (global-fci-mode 1) ;; I have been warned about magit stealing my files: (setq magit-last-seen-setup-instructions "1.4.0") (setq-default git-magit-status-fullscreen t) -- cgit v1.2.3 From 0d38d06b605b0f9e1cfb7062f5e8c9733f63ba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Thu, 31 Mar 2016 10:05:56 -0400 Subject: Magit settings in spacemacs. --- spacemacs | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index 23b3f25..28d943a 100644 --- a/spacemacs +++ b/spacemacs @@ -40,7 +40,7 @@ values." ;; (shell :variables ;; shell-default-height 30 ;; shell-default-position 'bottom) - spell-checking + ;; spell-checking ;; syntax-checking version-control ) @@ -48,9 +48,9 @@ values." ;; wrapped in a layer. If you need some configuration for these ;; packages then consider to create a layer, you can also put the ;; configuration in `dotspacemacs/config'. - dotspacemacs-additional-packages '(nxml) + dotspacemacs-additional-packages '() ;; A list of packages and/or extensions that will not be install and loaded. - dotspacemacs-excluded-packages '(smartparens) + dotspacemacs-excluded-packages '(smartparens flyspell) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that ;; are declared in a layer which is not a member of ;; the list `dotspacemacs-configuration-layers'. (default t) @@ -209,7 +209,8 @@ user code." (if (region-active-p) (kill-region (region-beginning) (region-end)) (backward-kill-word arg))) - ) + (setq-default git-magit-status-fullscreen t) +) (defun kj-bindings () "Set up my custom bindings." @@ -228,14 +229,21 @@ user code." (defun kj-org-config () "Org configuration." (setq-default + ;; nxml is unbearably slow :( + rng-nxml-auto-validate-flag nil + org-todo-keywords '((sequence "TODO(t)" "WAIT(w@/!)" "|" "DONE(d!)" "CANCELED(c@)")) org-directory "~/org" org-support-shift-select t + ;; org-capture-templates + ;; '(("t" "Todo" entry (file+headline "~/org/in.org" "Tasks") + ;; "* TODO %?\n %i\n %a"))) org-capture-templates '(("t" "Todo" entry (file+headline "~/org/in.org" "Tasks") - "* TODO %?\n %i\n %a"))) + "* TODO %?"))) (eval-after-load "org" '(require 'ox-md nil t)) + (global-git-commit-mode t) ) (defun dotspacemacs/user-config () @@ -255,5 +263,18 @@ layers configuration. You are free to put any user code." (global-fci-mode 1) ;; I have been warned about magit stealing my files: (setq magit-last-seen-setup-instructions "1.4.0") - (setq-default git-magit-status-fullscreen t) ) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; 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. + '(package-selected-packages + (quote + (xterm-color web-mode web-beautify volatile-highlights toc-org spacemacs-theme spaceline powerline smooth-scrolling shm paradox hydra org-repo-todo org-plus-contrib neotree move-text markdown-toc markdown-mode magit-gitflow leuven-theme js2-refactor multiple-cursors js2-mode helm-projectile helm-make projectile helm-flx helm-ag gitconfig-mode gitattributes-mode git-timemachine evil-visualstar evil-surround evil-mc evil-magit evil-lisp-state smartparens evil-jumper evil-iedit-state evil-escape eshell-prompt-extras cmake-mode auto-compile packed aggressive-indent ace-window ace-jump-helm-line avy haskell-mode git-gutter yasnippet gitignore-mode helm helm-core json-reformat magit magit-popup with-editor async dash s quelpa use-package which-key bind-key bind-map evil ws-butler window-numbering vi-tilde-fringe undo-tree tern tagedit spinner smeargle slim-mode shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters popwin pkg-info persp-mode pcre2el page-break-lines package-build orgit org-present org-pomodoro org-bullets open-junk-file multi-term monokai-theme mmm-mode macrostep lorem-ipsum linum-relative less-css-mode json-mode js-doc jade-mode info+ indent-guide iedit ido-vertical-mode hungry-delete htmlize hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation help-fns+ helm-themes helm-swoop helm-mode-manager helm-gitignore helm-flyspell helm-descbinds helm-css-scss haskell-snippets goto-chg google-translate golden-ratio gnuplot git-messenger git-gutter-fringe git-gutter-fringe+ ghc gh-md flx-ido fill-column-indicator fancy-battery expand-region exec-path-from-shell evil-tutor evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-matchit evil-indent-plus evil-exchange evil-args evil-anzu eval-sexp-fu esh-help emmet-mode elisp-slime-nav disaster diminish diff-hl define-word coffee-mode cmm-mode clean-aindent-mode clang-format buffer-move bracketed-paste auto-highlight-symbol auto-dictionary adaptive-wrap ace-link)))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; 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. + ) -- cgit v1.2.3 From e9088e350bee110c4a85e8c5608838bf238f61e5 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 10 Apr 2016 16:17:20 -0400 Subject: Remove custom packages from spacemacs. --- spacemacs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index 28d943a..fd3d00a 100644 --- a/spacemacs +++ b/spacemacs @@ -264,17 +264,3 @@ layers configuration. You are free to put any user code." ;; I have been warned about magit stealing my files: (setq magit-last-seen-setup-instructions "1.4.0") ) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; 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. - '(package-selected-packages - (quote - (xterm-color web-mode web-beautify volatile-highlights toc-org spacemacs-theme spaceline powerline smooth-scrolling shm paradox hydra org-repo-todo org-plus-contrib neotree move-text markdown-toc markdown-mode magit-gitflow leuven-theme js2-refactor multiple-cursors js2-mode helm-projectile helm-make projectile helm-flx helm-ag gitconfig-mode gitattributes-mode git-timemachine evil-visualstar evil-surround evil-mc evil-magit evil-lisp-state smartparens evil-jumper evil-iedit-state evil-escape eshell-prompt-extras cmake-mode auto-compile packed aggressive-indent ace-window ace-jump-helm-line avy haskell-mode git-gutter yasnippet gitignore-mode helm helm-core json-reformat magit magit-popup with-editor async dash s quelpa use-package which-key bind-key bind-map evil ws-butler window-numbering vi-tilde-fringe undo-tree tern tagedit spinner smeargle slim-mode shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters popwin pkg-info persp-mode pcre2el page-break-lines package-build orgit org-present org-pomodoro org-bullets open-junk-file multi-term monokai-theme mmm-mode macrostep lorem-ipsum linum-relative less-css-mode json-mode js-doc jade-mode info+ indent-guide iedit ido-vertical-mode hungry-delete htmlize hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation help-fns+ helm-themes helm-swoop helm-mode-manager helm-gitignore helm-flyspell helm-descbinds helm-css-scss haskell-snippets goto-chg google-translate golden-ratio gnuplot git-messenger git-gutter-fringe git-gutter-fringe+ ghc gh-md flx-ido fill-column-indicator fancy-battery expand-region exec-path-from-shell evil-tutor evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-matchit evil-indent-plus evil-exchange evil-args evil-anzu eval-sexp-fu esh-help emmet-mode elisp-slime-nav disaster diminish diff-hl define-word coffee-mode cmm-mode clean-aindent-mode clang-format buffer-move bracketed-paste auto-highlight-symbol auto-dictionary adaptive-wrap ace-link)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; 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. - ) -- cgit v1.2.3 From cf5121fe942cb1b50c9bacf594d89ccc0959d5ed Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 11 Apr 2016 09:04:01 -0400 Subject: Add spacemacs mu4e configuration. --- spacemacs | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'spacemacs') diff --git a/spacemacs b/spacemacs index fd3d00a..4e3ecd2 100644 --- a/spacemacs +++ b/spacemacs @@ -43,6 +43,10 @@ values." ;; spell-checking ;; syntax-checking version-control + gnus + mu4e + (mu4e :variables + mu4e-installation-path "/usr/share/emacs/site-lisp") ) ;; List of additional packages that will be installed without being ;; wrapped in a layer. If you need some configuration for these @@ -50,7 +54,7 @@ values." ;; configuration in `dotspacemacs/config'. dotspacemacs-additional-packages '() ;; A list of packages and/or extensions that will not be install and loaded. - dotspacemacs-excluded-packages '(smartparens flyspell) + dotspacemacs-excluded-packages '(smartparens flyspell evil-jumper) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that ;; are declared in a layer which is not a member of ;; the list `dotspacemacs-configuration-layers'. (default t) @@ -246,6 +250,39 @@ user code." (global-git-commit-mode t) ) +(defun mu4e-config () + (setq mu4e-drafts-folder "/[Gmail]/.Drafts") + (setq mu4e-sent-folder "/[Gmail]/.Sent Mail") + (setq mu4e-trash-folder "/[Gmail]/.Trash") + (setq mu4e-sent-messages-behavior 'delete) + + (setq mu4e-maildir-shortcuts + '( ("/Inbox" . ?i) + ("/[Gmail]/.Sent Mail" . ?s) + ("/[Gmail]/.Trash" . ?t) + ("/[Gmail]/.All Mail" . ?a))) + + (setq mu4e-get-mail-command "mbsync gmail") + + (setq + user-mail-address "kjetil.orbekk@gmail.com" + user-full-name "Kjetil Ørbekk" + mu4e-compose-signature + (concat "KJ\n")) + + (require 'smtpmail) + (setq message-send-mail-function 'smtpmail-send-it + starttls-use-gnutls t + smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) + smtpmail-auth-credentials + '(("smtp.gmail.com" 587 "kjetil.orbekk@gmail.com" nil)) + smtpmail-default-smtp-server "smtp.gmail.com" + smtpmail-smtp-server "smtp.gmail.com" + smtpmail-smtp-service 587) + + (setq message-kill-buffer-on-exit t) + ) + (defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs initialization after @@ -263,4 +300,5 @@ layers configuration. You are free to put any user code." (global-fci-mode 1) ;; I have been warned about magit stealing my files: (setq magit-last-seen-setup-instructions "1.4.0") + (mu4e-config) ) -- cgit v1.2.3