123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385 |
- (defun dotspacemacs/layers ()
- "Configuration Layers declaration.
- You should not put any user code in this function besides modifying the variable
- values."
- (setq-default
-
-
-
- dotspacemacs-distribution 'spacemacs
-
-
-
-
-
-
-
-
-
- dotspacemacs-enable-lazy-installation 'unused
-
-
- dotspacemacs-ask-for-lazy-installation t
-
-
-
- dotspacemacs-configuration-layer-path '()
-
- dotspacemacs-configuration-layers
- '(
- rust
- typescript
- html
- javascript
- python
- php
- markdown
- sml
- yaml
- haskell
- ;; ----------------------------------------------------------------
- ;; Example of useful layers you may want to use right away.
- ;; Uncomment some layer names and press <SPC f e R> (Vim style) or
- ;; <M-m f e R> (Emacs style) to install them.
- ;; ----------------------------------------------------------------
- helm
- auto-completion
- ;; better-defaults
- emacs-lisp
- git
- ;; markdown
- org
- ;; (shell :variables
- ;; shell-default-height 30
- ;; shell-default-position 'bottom)
- spell-checking
- syntax-checking
- version-control
- evil-snipe
- latex
- (c-c++ :variables
- c-c++-enable-clang-support t
- c-c++-default-mode-for-headers 'c++-mode))
-
-
-
-
- dotspacemacs-additional-packages
- '(
- calfw
- calfw-org
- org-caldav
- )
-
- dotspacemacs-frozen-packages '()
-
- dotspacemacs-excluded-packages
- '(
- evil-search-highlight-persist
- )
-
-
-
-
-
-
-
- dotspacemacs-install-packages 'used-only))
- (defun dotspacemacs/init ()
- "Initialization function.
- 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."
-
-
- (setq-default
-
-
-
-
-
-
- dotspacemacs-elpa-https t
-
- dotspacemacs-elpa-timeout 5
-
-
-
-
- dotspacemacs-check-for-update nil
-
-
-
- dotspacemacs-elpa-subdirectory nil
-
-
-
-
-
-
- dotspacemacs-editing-style 'vim
-
- dotspacemacs-verbose-loading nil
-
-
-
-
-
-
- dotspacemacs-startup-banner 'official
-
-
-
-
-
-
- dotspacemacs-startup-lists '((recents . 5)
- (projects . 7))
-
- dotspacemacs-startup-buffer-responsive t
-
- dotspacemacs-scratch-mode 'text-mode
-
-
-
- dotspacemacs-themes '(spacemacs-dark
- spacemacs-light)
-
- dotspacemacs-colorize-cursor-according-to-state t
-
-
- dotspacemacs-default-font '("Source Code Pro"
- :size 13
- :weight normal
- :width normal
- :powerline-scale 1.1)
-
- dotspacemacs-leader-key "SPC"
-
-
- dotspacemacs-emacs-command-key "SPC"
-
- dotspacemacs-ex-command-key ":"
-
-
- dotspacemacs-emacs-leader-key "M-m"
-
-
- dotspacemacs-major-mode-leader-key ","
-
-
- dotspacemacs-major-mode-emacs-leader-key "C-M-m"
-
-
-
-
-
-
- dotspacemacs-distinguish-gui-tab nil
-
- dotspacemacs-remap-Y-to-y$ nil
-
-
- dotspacemacs-retain-visual-state-on-shift t
-
-
- dotspacemacs-visual-line-move-text nil
-
-
- dotspacemacs-ex-substitute-global nil
-
- dotspacemacs-default-layout-name "Default"
-
-
- dotspacemacs-display-default-layout nil
-
-
- dotspacemacs-auto-resume-layouts nil
-
-
-
- dotspacemacs-large-file-size 1
-
-
-
-
- dotspacemacs-auto-save-file-location 'cache
-
- dotspacemacs-max-rollback-slots 5
-
- dotspacemacs-helm-resize nil
-
-
- dotspacemacs-helm-no-header nil
-
-
- dotspacemacs-helm-position 'bottom
-
-
-
-
- dotspacemacs-helm-use-fuzzy 'always
-
-
- dotspacemacs-enable-paste-transient-state nil
-
-
- dotspacemacs-which-key-delay 0.4
-
-
-
-
- dotspacemacs-which-key-position 'bottom
-
-
-
- dotspacemacs-loading-progress-bar t
-
-
- dotspacemacs-fullscreen-at-startup nil
-
-
- dotspacemacs-fullscreen-use-non-native nil
-
-
-
- dotspacemacs-maximized-at-startup nil
-
-
-
- dotspacemacs-active-transparency 90
-
-
-
- dotspacemacs-inactive-transparency 90
-
- dotspacemacs-show-transient-state-title t
-
- dotspacemacs-show-transient-state-color-guide t
-
- dotspacemacs-mode-line-unicode-symbols t
-
-
-
- dotspacemacs-smooth-scrolling t
-
-
-
-
-
-
-
-
-
-
-
-
-
- dotspacemacs-line-numbers nil
-
-
- dotspacemacs-folding-method 'evil
-
-
- dotspacemacs-smartparens-strict-mode nil
-
-
-
- dotspacemacs-smart-closing-parenthesis nil
-
-
-
- dotspacemacs-highlight-delimiters 'all
-
-
- dotspacemacs-persistent-server nil
-
-
-
- dotspacemacs-search-tools '("ag" "pt" "ack" "grep")
-
-
-
- dotspacemacs-default-package-repository nil
-
-
-
-
-
- dotspacemacs-whitespace-cleanup nil
- ))
- (defun dotspacemacs/user-init ()
- "Initialization function for user code.
- It is called immediately after `dotspacemacs/init', before layer configuration
- executes.
- This function is mostly useful for variables that need to be set
- before packages are loaded. If you are unsure, you should try in setting them in
- `dotspacemacs/user-config' first."
- )
- (defun dotspacemacs/user-config ()
- "Configuration function for user code.
- This function is called at the very end of Spacemacs initialization after
- layers configuration.
- This is the place where most of your configurations should be done. Unless it is
- explicitly specified that a variable should be set before a package is loaded,
- you should place your code here."
- (evil-define-minor-mode-key 'normal 'visual-line-mode "j" 'evil-next-visual-line)
- (evil-define-minor-mode-key 'normal 'visual-line-mode "k" 'evil-previous-visual-line)
- (setq undo-tree-auto-save-history t
- undo-tree-history-directory-alist
- `(("." . ,(concat spacemacs-cache-directory "undo"))))
- (unless (file-exists-p (concat spacemacs-cache-directory "undo"))
- (make-directory (concat spacemacs-cache-directory "undo")))
- (require 'calfw)
- (require 'calfw-org)
- (defun org-agenda-this-buffer ()
-
- (interactive)
- (execute-kbd-macro (kbd "<SPC>ma<a")))
- (defun cfw:show-details-command-call ()
-
- (interactive)
- (execute-kbd-macro (kbd "<SPC>")))
- (evil-define-key 'normal org-mode-map (kbd "<SPC>o") 'org-agenda-this-buffer)
- (define-key org-agenda-mode-map (kbd "c") 'cfw:open-org-calendar)
- (define-key cfw:calendar-mode-map (kbd "<RET>") 'cfw:show-details-command-call)
- (defun create-tags (dir-name)
- "Create tags file."
- (interactive "DDirectory: ")
- (eshell-command
- (format " find %s -type f -regextype sed -regex \".*\\.\\(cpp\\|c\\|h\\)$\" | etags -" dir-name)))
- )
- (custom-set-variables
-
-
-
-
- '(evil-want-Y-yank-to-eol nil)
- '(package-selected-packages
- (quote
- (mmm-mode markdown-toc markdown-mode gh-md ob-sml sml-mode yaml-mode treepy graphql company-auctex auctex-latexmk auctex evil-snipe smeargle orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download magit-gitflow htmlize helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter fuzzy flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck-haskell evil-magit magit magit-popup git-commit ghub with-editor diff-hl company-statistics company-cabal auto-yasnippet auto-dictionary ac-ispell auto-complete intero flycheck hlint-refactor hindent helm-hoogle haskell-snippets yasnippet company-ghci company-ghc ghc company haskell-mode cmm-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))))
- (custom-set-faces
-
-
-
-
- )
|