Created
July 25, 2015 06:40
-
-
Save jarutis/ce79b9b7caae3ea37b20 to your computer and use it in GitHub Desktop.
My spacemacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (setq-default dotspacemacs-configuration-layers | |
| '(org | |
| ess | |
| osx | |
| git | |
| smex | |
| ruby | |
| python | |
| scala | |
| (clojure :variables | |
| clojure-enable-fancify-symbols t | |
| cider-repl-history-size 1000 | |
| cider-repl-history-file "~/.cider_history") | |
| sql | |
| (shell :variables shell-default-shell 'multiterm) | |
| (auto-completion :variables | |
| auto-completion-return-key-behavior 'complete | |
| auto-completion-tab-key-behavior 'cycle | |
| auto-completion-enable-sort-by-usage t))) | |
| (setq-default dotspacemacs-feature-toggle-leader-on-jk nil) | |
| (setq-default dotspacemacs-smartparens-strict-mode nil) | |
| (setq-default dotspacemacs-themes '(zenburn)) | |
| ;; clojure mode settings | |
| (add-hook 'clojure-mode-hook | |
| '(lambda () | |
| (define-clojure-indent | |
| (fact 'defun) | |
| (facts 'defun) | |
| (fact-group 'defun) | |
| (silent-fact 'defun) | |
| (future-fact 'defun) | |
| (tabular 'defun) | |
| (against-background 'defun) | |
| (provided 0)))) | |
| ;; smartparens | |
| (defun dotspacemacs/config () | |
| (define-key sp-keymap (kbd "C-<right>") 'sp-forward-slurp-sexp) | |
| (define-key sp-keymap (kbd "C-<left>") 'sp-forward-barf-sexp) | |
| (define-key sp-keymap (kbd "C-M-<left>") 'sp-backward-slurp-sexp) | |
| (define-key sp-keymap (kbd "C-M-<right>") 'sp-backward-barf-sexp) | |
| ;; Emacs Web Wowser | |
| (evil-leader/set-key-for-mode 'eww-mode | |
| "oq" 'eww-quit | |
| "og" 'eww-reload | |
| "ow" 'eww-copy-page-url | |
| "od" 'eww-download | |
| "ol" 'eww-back-url | |
| "or" 'eww-forward-url | |
| "oH" 'eww-list-histories | |
| "ob" 'eww-add-bookmark | |
| "oB" 'eww-list-bookmarks) | |
| ;; Capture notes file | |
| (setq org-directory "~/Dropbox/Notes/") | |
| (setq org-default-notes-file (concat org-directory "gtd.org")) | |
| (define-key global-map "\C-cc" 'org-capture) | |
| (setq org-capture-templates | |
| '(("t" "Todo" entry (file+headline "~/Dropbox/Notes/gtd.org" "Tasks") | |
| "* TODO %^{Brief Description} %^g\n%?\nAdded: %U") | |
| ("j" "Journal" entry (file+datetree "~/Dropbox/Notes/journal.org") | |
| "\n* %^{topic} %T \n%i%?\n"))) | |
| ;; Agenda commands | |
| (setq org-agenda-custom-commands | |
| '(("P" "Projects" ((tags "PROJECT"))) | |
| ("H" "Office and Home Lists" | |
| ((agenda) | |
| (tags-todo "OFFICE") | |
| (tags-todo "HOME") | |
| (tags-todo "COMPUTER") | |
| (tags-todo "UNIVERSITY") | |
| (tags-todo "LUNCHTIME") | |
| (tags-todo "READING"))) | |
| ("D" "Daily Action List" | |
| ( | |
| (agenda "" ((org-agenda-ndays 1) | |
| (org-agenda-sorting-strategy | |
| (quote ((agenda time-up priority-down tag-up) ))) | |
| (org-deadline-warning-days 0) | |
| ))))))) | |
| ;; fix rubocop | |
| (add-hook 'enh-ruby-mode-hook | |
| (lambda () (exec-path-from-shell-copy-env "GEM_PATH"))) | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (setq org-latex-pdf-process '("latexmk -pdflatex='xelatex -synctex=1 --shell-escape' -pdf %f")) | |
| ;; hoplon support | |
| (add-to-list 'auto-mode-alist '("\\.html\\.hl\\'" . html-mode)) | |
| (add-to-list 'auto-mode-alist '("\\.cljs\\.hl\\'" . clojure-mode)) | |
| (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. | |
| '(ac-ispell-requires 4) | |
| '(ahs-case-fold-search nil) | |
| '(ahs-default-range (quote ahs-range-whole-buffer)) | |
| '(ahs-idle-interval 0.25) | |
| '(ahs-idle-timer 0 t) | |
| '(ahs-inhibit-face-list nil) | |
| '(ensime-inf-cmd-template (quote ("scala" "-classpath" :classpath))) | |
| '(ensime-inf-default-cmd-line (quote ("scala"))) | |
| '(org-agenda-files (quote ("~/Dropbox/Notes/gtd.org"))) | |
| '(org-agenda-ndays 7) | |
| '(org-agenda-repeating-timestamp-show-all nil) | |
| '(org-agenda-restore-windows-after-quit t) | |
| '(org-agenda-show-all-dates t) | |
| '(org-agenda-skip-deadline-if-done t) | |
| '(org-agenda-skip-scheduled-if-done t) | |
| '(org-agenda-sorting-strategy | |
| (quote | |
| ((agenda time-up priority-down tag-up) | |
| (todo tag-up)))) | |
| '(org-agenda-start-on-weekday nil) | |
| '(org-agenda-todo-ignore-deadlines t) | |
| '(org-agenda-todo-ignore-scheduled t) | |
| '(org-agenda-todo-ignore-with-date t) | |
| '(org-agenda-window-setup (quote other-window)) | |
| '(org-deadline-warning-days 7) | |
| '(paradox-github-token t) | |
| '(ring-bell-function (quote ignore) t) | |
| '(scala-indent:align-forms t) | |
| '(scala-indent:align-parameters t) | |
| '(scala-indent:default-run-on-strategy scala-indent:operator-strategy) | |
| '(sql-database "") | |
| '(sql-mysql-login-params (quote (user password server database port))) | |
| '(sql-password "") | |
| '(sql-server "") | |
| '(sql-user "")) | |
| (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. | |
| '(default ((t (:foreground "#DCDCCC" :background "#3F3F3F")))) | |
| '(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil)))) | |
| '(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment