From 880414eef558c0298a6f22d4eb2a4d56e0d43b50 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Thu, 27 Oct 2016 17:56:30 -0700 Subject: [PATCH] update the spacemacs --- .emacs.local/barak-theme.el | 3 ++- .spacemacs | 19 +++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.emacs.local/barak-theme.el b/.emacs.local/barak-theme.el index 27fa85d..70dad62 100644 --- a/.emacs.local/barak-theme.el +++ b/.emacs.local/barak-theme.el @@ -151,7 +151,8 @@ Also bind `class' to ((class color) (min-colors 89))." `(tabbar-selected ((t (:background "grey75" :foreground "black")))) `(tabbar-highlight ((t (:bold t)))) `(underline ((nil (:underline nil)))) - '(match ((t (:bold t :background nil)))) + `(match ((t (:bold t :background nil)))) + `(show-paren-match ((t ((:bold t :foreground "#00ff00" :background nil))))) ; company mode `(company-tooltip ((t (:background "#303840" :foreground "#e0e0e0")))) diff --git a/.spacemacs b/.spacemacs index da701d7..283c1f7 100644 --- a/.spacemacs +++ b/.spacemacs @@ -23,7 +23,7 @@ values." ;; ---------------------------------------------------------------- (auto-completion :variables auto-completion-enable-help-tooltip t - auto-completion-enable-snippets-in-popup t) + auto-completion-enable-snippets-in-popup nil) ;; better-defaults emacs-lisp mu4e @@ -58,6 +58,7 @@ values." ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '( rainbow-delimiters + highlight-parentheses ) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that ;; are declared in a layer which is not a member of @@ -70,6 +71,7 @@ This function is called at the very startup of Spacemacs initialization before layers configuration. You should not put any user code in there besides modifying the variable values." + (load-file "~/.emacs.local/barak-theme.el") ;; This setq-default sexp is an exhaustive list of all the supported ;; spacemacs settings. (setq-default @@ -78,7 +80,7 @@ values." ;; uses emacs key bindings for vim's insert mode, but otherwise leaves evil ;; unchanged. (default 'vim) dotspacemacs-editing-style 'vim - + ;; If non nil output loading progress in `*Messages*' buffer. (default nil) dotspacemacs-verbose-loading nil ;; Specify the startup banner. Default value is `official', it displays @@ -221,8 +223,7 @@ values." "Initialization function for user code. It is called immediately after `dotspacemacs/init'. You are free to put any user code." - (push "~/.emacs.d/local" load-path) - ) +) (defun dotspacemacs/user-config () "Configuration function for user code. @@ -287,8 +288,8 @@ BUFFER may be either a buffer or its name (a string)." (define-key evil-visual-state-map "j" 'evil-next-visual-line) (define-key evil-visual-state-map "k" 'evil-previous-visual-line) (define-key evil-normal-state-map "gc" 'kill-buffer-and-window) - (define-key evil-normal-state-map "gn" 'spacemacs/next-useful-buffer) - (define-key evil-normal-state-map "gp" 'spacemacs/previous-useful-buffer) + (define-key evil-normal-state-map "gn" 'next-buffer) + (define-key evil-normal-state-map "gp" 'previous-buffer) (define-key evil-normal-state-map "gt" 'neotree-find-project-root) (define-key evil-normal-state-map "gw" 'evil-search-unbounded-word-forward) (evil-ex-define-cmd "W[rite]" 'evil-write) @@ -326,6 +327,7 @@ BUFFER may be either a buffer or its name (a string)." (add-hook 'markdown-mode-hook (lambda() (add-hook 'after-save-hook 'cleanup-org-tables nil 'make-it-local))) + (add-hook 'go-mode-hook 'clean-aindent-mode) (setq mu4e-maildir "~/.mail/barak" mu4e-trash-folder "/Trash" @@ -408,7 +410,7 @@ BUFFER may be either a buffer or its name (a string)." '(org-support-shift-select (quote always)) '(package-selected-packages (quote - (yapfify uuidgen py-isort ox-gfm org-projectile org-download mu4e-maildirs-extension mu4e-alert ht live-py-mode link-hint hide-comnt git-link eyebrowse evil-visual-mark-mode evil-unimpaired evil-ediff eshell-z dumb-jump darkokai-theme column-enforce-mode company-auctex auctex-latexmk auctex zonokai-theme zenburn-theme zen-and-art-theme yaml-mode xterm-color ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe use-package underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme toc-org tao-theme tangotango-theme tango-plus-theme tango-2-theme systemd sunny-day-theme sublime-themes subatomic256-theme subatomic-theme stekene-theme spacemacs-theme spaceline spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smooth-scrolling smeargle shell-pop seti-theme reverse-theme restart-emacs railscasts-theme quelpa pyvenv pytest pyenv-mode py-yapf purple-haze-theme protobuf-mode professional-theme popwin planet-theme pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme persp-mode pcre2el pastels-on-dark-theme paradox page-break-lines orgit organic-green-theme org-repo-todo org-present org-pomodoro org-plus-contrib org-bullets open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme niflheim-theme neotree naquadah-theme mustang-theme multi-term move-text monokai-theme monochrome-theme molokai-theme moe-theme mmm-mode minimal-theme material-theme markdown-toc majapahit-theme magit-gitflow macrostep lush-theme lorem-ipsum linum-relative light-soap-theme leuven-theme jbeans-theme jazz-theme ir-black-theme inkpot-theme info+ indent-guide ido-vertical-mode hy-mode hungry-delete htmlize hl-todo highlight-parentheses highlight-numbers highlight-indentation heroku-theme hemisu-theme help-fns+ helm-themes helm-swoop helm-pydoc helm-projectile helm-mode-manager helm-make helm-gitignore helm-flx helm-descbinds helm-company helm-c-yasnippet helm-ag hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio go-eldoc gnuplot gitconfig-mode gitattributes-mode git-timemachine git-messenger git-gutter-fringe git-gutter-fringe+ gh-md gandalf-theme flycheck-pos-tip flx-ido flatui-theme flatland-theme firebelly-theme fill-column-indicator farmhouse-theme fancy-battery expand-region exec-path-from-shell evil-visualstar evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-args evil-anzu eval-sexp-fu espresso-theme eshell-prompt-extras esh-help elisp-slime-nav dracula-theme django-theme diff-hl define-word darktooth-theme darkmine-theme darkburn-theme dakrone-theme cython-mode cyberpunk-theme company-statistics company-quickhelp company-go company-anaconda colorsarenice-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized clues-theme clean-aindent-mode cherry-blossom-theme busybee-theme buffer-move bubbleberry-theme bracketed-paste birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol auto-compile apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme adaptive-wrap ace-window ace-link ace-jump-helm-line ac-ispell))) + (powerline spinner org alert log4e gntp markdown-mode hydra parent-mode projectile request go-guru gitignore-mode fringe-helper git-gutter+ git-gutter flycheck pkg-info epl flx magit magit-popup git-commit with-editor smartparens iedit anzu evil goto-chg undo-tree highlight diminish pos-tip go-mode company bind-map bind-key yasnippet packed anaconda-mode pythonic f dash s helm avy helm-core async auto-complete popup package-build yapfify uuidgen py-isort ox-gfm org-projectile org-download mu4e-maildirs-extension mu4e-alert ht live-py-mode link-hint hide-comnt git-link eyebrowse evil-visual-mark-mode evil-unimpaired evil-ediff eshell-z dumb-jump darkokai-theme column-enforce-mode company-auctex auctex-latexmk auctex zonokai-theme zenburn-theme zen-and-art-theme yaml-mode xterm-color ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe use-package underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme toc-org tao-theme tangotango-theme tango-plus-theme tango-2-theme systemd sunny-day-theme sublime-themes subatomic256-theme subatomic-theme stekene-theme spacemacs-theme spaceline spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smooth-scrolling smeargle shell-pop seti-theme reverse-theme restart-emacs railscasts-theme quelpa pyvenv pytest pyenv-mode py-yapf purple-haze-theme protobuf-mode professional-theme popwin planet-theme pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme persp-mode pcre2el pastels-on-dark-theme paradox page-break-lines orgit organic-green-theme org-repo-todo org-present org-pomodoro org-plus-contrib org-bullets open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme niflheim-theme neotree naquadah-theme mustang-theme multi-term move-text monokai-theme monochrome-theme molokai-theme moe-theme mmm-mode minimal-theme material-theme markdown-toc majapahit-theme magit-gitflow macrostep lush-theme lorem-ipsum linum-relative light-soap-theme leuven-theme jbeans-theme jazz-theme ir-black-theme inkpot-theme info+ indent-guide ido-vertical-mode hy-mode hungry-delete htmlize hl-todo highlight-parentheses highlight-numbers highlight-indentation heroku-theme hemisu-theme help-fns+ helm-themes helm-swoop helm-pydoc helm-projectile helm-mode-manager helm-make helm-gitignore helm-flx helm-descbinds helm-company helm-c-yasnippet helm-ag hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio go-eldoc gnuplot gitconfig-mode gitattributes-mode git-timemachine git-messenger git-gutter-fringe git-gutter-fringe+ gh-md gandalf-theme flycheck-pos-tip flx-ido flatui-theme flatland-theme firebelly-theme fill-column-indicator farmhouse-theme fancy-battery expand-region exec-path-from-shell evil-visualstar evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-args evil-anzu eval-sexp-fu espresso-theme eshell-prompt-extras esh-help elisp-slime-nav dracula-theme django-theme diff-hl define-word darktooth-theme darkmine-theme darkburn-theme dakrone-theme cython-mode cyberpunk-theme company-statistics company-quickhelp company-go company-anaconda colorsarenice-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized clues-theme clean-aindent-mode cherry-blossom-theme busybee-theme buffer-move bubbleberry-theme bracketed-paste birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol auto-compile apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme adaptive-wrap ace-window ace-link ace-jump-helm-line ac-ispell))) '(paradox-github-token t) '(safe-local-variable-values (quote @@ -427,4 +429,5 @@ BUFFER may be either a buffer or its name (a string)." '(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil)))) '(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil)))) '(match ((t (:weight bold)))) - '(show-paren-match ((t (:foreground "chartreuse"))))) + '(show-paren-match ((t (:foreground "chartreuse")))) + )