Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; -*- mode: emacs-lisp; lexical-binding: t -*-
- ;; This file is loaded by Spacemacs at startup.
- ;; It must be stored in your home directory.
- (defun dotspacemacs/layers ()
- "Layer configuration:
- This function should only modify configuration layer settings."
- (setq-default
- ;; Base distribution to use. This is a layer contained in the directory
- ;; `+distribution'. For now available distributions are `spacemacs-base'
- ;; or `spacemacs'. (default 'spacemacs)
- dotspacemacs-distribution 'spacemacs
- ;; Lazy installation of layers (i.e. layers are installed only when a file
- ;; with a supported type is opened). Possible values are `all', `unused'
- ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers
- ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
- ;; lazy install any layer that support lazy installation even the layers
- ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
- ;; installation feature and you have to explicitly list a layer in the
- ;; variable `dotspacemacs-configuration-layers' to install it.
- ;; (default 'unused)
- dotspacemacs-enable-lazy-installation 'unused
- ;; If non-nil then Spacemacs will ask for confirmation before installing
- ;; a layer lazily. (default t)
- dotspacemacs-ask-for-lazy-installation t
- ;; List of additional paths where to look for configuration layers.
- ;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
- dotspacemacs-configuration-layer-path '()
- ;; List of configuration layers to load.
- dotspacemacs-configuration-layers
- '(
- ;; ----------------------------------------------------------------
- ;; 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.
- ;; ----------------------------------------------------------------
- ;; auto-completion
- ;; better-defaults
- emacs-lisp
- html
- lua
- yaml
- git
- helm
- ;; lsp
- markdown
- multiple-cursors
- (org :variables org-want-todo-bindings t
- ;; +dragndrop 不成功
- ;; +pandoc ;先我x
- )
- ;; (shell :variables
- ;; shell-default-height 30
- ;; shell-default-position 'bottom)
- ;; spell-checking
- ;; syntax-checking
- treemacs
- ;; version-control
- ;;qy
- osx
- chrome
- search-engine
- (chinese :variables
- chinese-enable-fcitx t)
- (shell :variables shell-default-shell 'vterm)
- (shell :variables shell-default-term-shell "/bin/bash")
- )
- ;; List of additional packages that will be installed without being
- ;; wrapped in a layer. If you need some configuration for these
- ;; packages, then consider creating a layer. You can also put the
- ;; configuration in `dotspacemacs/user-config'.
- ;; To use a local version of a package, use the `:location' property:
- ;; '(your-package :location "~/path/to/your-package/")
- ;; Also include the dependencies as they will not be resolved automatically.
- dotspacemacs-additional-packages
- '(
- ;;qy
- ;;fcitx
- ;;org-chinese-utils
- ;;中国日历
- ;; cal-china-x-chinese-holidays
- ;; cal-china-x-japanese-holidays
- ;; holiday-lunar
- ;; holiday-solar-term
- ;;just qy
- ;;rime
- org-roam
- org-roam-server
- org-brain
- ox-gfm
- smart-input-source
- cal-china-x
- ;;自動保存
- auto-save-buffers-enhanced
- helm-osx-app
- helm-chrome
- helm-chrome-history
- helm-chrome-control
- anki-editor
- vterm
- )
- ;; A list of packages that cannot be updated.
- dotspacemacs-frozen-packages '()
- ;; A list of packages that will not be installed and loaded.
- dotspacemacs-excluded-packages '(
- helm-flyspell helm-c-yasnippet ace-jump-helm-line helm-make magithub helm-themes helm-swoop helm-purpose
- )
- ;; Defines the behaviour of Spacemacs when installing packages.
- ;; Possible values are `used-only', `used-but-keep-unused' and `all'.
- ;; `used-only' installs only explicitly used packages and deletes any unused
- ;; packages as well as their unused dependencies. `used-but-keep-unused'
- ;; installs only the used packages but won't delete unused ones. `all'
- ;; installs *all* packages supported by Spacemacs and never uninstalls them.
- ;; (default is `used-only')
- dotspacemacs-install-packages 'used-only))
- (defun dotspacemacs/init ()
- "Initialization:
- This function is called at the very beginning of Spacemacs startup,
- before layer configuration.
- It should only modify the values of Spacemacs settings."
- ;; This setq-default sexp is an exhaustive list of all the supported
- ;; spacemacs settings.
- (setq-default
- ;; If non-nil then enable support for the portable dumper. You'll need
- ;; to compile Emacs 27 from source following the instructions in file
- ;; EXPERIMENTAL.org at to root of the git repository.
- ;; (default nil)
- dotspacemacs-enable-emacs-pdumper nil
- ;; Name of executable file pointing to emacs 27+. This executable must be
- ;; in your PATH.
- ;; (default "emacs")
- dotspacemacs-emacs-pdumper-executable-file "emacs"
- ;; Name of the Spacemacs dump file. This is the file will be created by the
- ;; portable dumper in the cache directory under dumps sub-directory.
- ;; To load it when starting Emacs add the parameter `--dump-file'
- ;; when invoking Emacs 27.1 executable on the command line, for instance:
- ;; ./emacs --dump-file=~/.emacs.d/.cache/dumps/spacemacs.pdmp
- ;; (default spacemacs.pdmp)
- dotspacemacs-emacs-dumper-dump-file "spacemacs.pdmp"
- ;; If non-nil ELPA repositories are contacted via HTTPS whenever it's
- ;; possible. Set it to nil if you have no way to use HTTPS in your
- ;; environment, otherwise it is strongly recommended to let it set to t.
- ;; This variable has no effect if Emacs is launched with the parameter
- ;; `--insecure' which forces the value of this variable to nil.
- ;; (default t)
- dotspacemacs-elpa-https t
- ;; Maximum allowed time in seconds to contact an ELPA repository.
- ;; (default 5)
- dotspacemacs-elpa-timeout 5
- ;; Set `gc-cons-threshold' and `gc-cons-percentage' when startup finishes.
- ;; This is an advanced option and should not be changed unless you suspect
- ;; performance issues due to garbage collection operations.
- ;; (default '(100000000 0.1))
- dotspacemacs-gc-cons '(100000000 0.1)
- ;; If non-nil then Spacelpa repository is the primary source to install
- ;; a locked version of packages. If nil then Spacemacs will install the
- ;; latest version of packages from MELPA. (default nil)
- dotspacemacs-use-spacelpa nil
- ;; If non-nil then verify the signature for downloaded Spacelpa archives.
- ;; (default t)
- dotspacemacs-verify-spacelpa-archives t
- ;; If non-nil then spacemacs will check for updates at startup
- ;; when the current branch is not `develop'. Note that checking for
- ;; new versions works via git commands, thus it calls GitHub services
- ;; whenever you start Emacs. (default nil)
- dotspacemacs-check-for-update nil
- ;; If non-nil, a form that evaluates to a package directory. For example, to
- ;; use different package directories for different Emacs versions, set this
- ;; to `emacs-version'. (default 'emacs-version)
- dotspacemacs-elpa-subdirectory 'emacs-version
- ;; One of `vim', `emacs' or `hybrid'.
- ;; `hybrid' is like `vim' except that `insert state' is replaced by the
- ;; `hybrid state' with `emacs' key bindings. The value can also be a list
- ;; with `:variables' keyword (similar to layers). Check the editing styles
- ;; section of the documentation for details on available variables.
- ;; (default 'vim)
- dotspacemacs-editing-style 'hybrid
- ;; Specify the startup banner. Default value is `official', it displays
- ;; the official spacemacs logo. An integer value is the index of text
- ;; banner, `random' chooses a random text banner in `core/banners'
- ;; directory. A string value must be a path to an image format supported
- ;; by your Emacs build.
- ;; If the value is nil then no banner is displayed. (default 'official)
- dotspacemacs-startup-banner 'official
- ;; List of items to show in startup buffer or an association list of
- ;; the form `(list-type . list-size)`. If nil then it is disabled.
- ;; Possible values for list-type are:
- ;; `recents' `bookmarks' `projects' `agenda' `todos'.
- ;; List sizes may be nil, in which case
- ;; `spacemacs-buffer-startup-lists-length' takes effect.
- dotspacemacs-startup-lists '((recents . 15)
- (projects . 7))
- ;; True if the home buffer should respond to resize events. (default t)
- dotspacemacs-startup-buffer-responsive t
- ;; Default major mode for a new empty buffer. Possible values are mode
- ;; names such as `text-mode'; and `nil' to use Fundamental mode.
- ;; (default `text-mode')
- dotspacemacs-new-empty-buffer-major-mode 'text-mode
- ;; Default major mode of the scratch buffer (default `text-mode')
- dotspacemacs-scratch-mode 'text-mode
- ;; Initial message in the scratch buffer, such as "Welcome to Spacemacs!"
- ;; (default nil)
- dotspacemacs-initial-scratch-message nil
- ;; List of themes, the first of the list is loaded when spacemacs starts.
- ;; Press `SPC T n' to cycle to the next theme in the list (works great
- ;; with 2 themes variants, one dark and one light)
- dotspacemacs-themes '(spacemacs-dark
- spacemacs-light)
- ;; Set the theme for the Spaceline. Supported themes are `spacemacs',
- ;; `all-the-icons', `custom', `doom', `vim-powerline' and `vanilla'. The
- ;; first three are spaceline themes. `doom' is the doom-emacs mode-line.
- ;; `vanilla' is default Emacs mode-line. `custom' is a user defined themes,
- ;; refer to the DOCUMENTATION.org for more info on how to create your own
- ;; spaceline theme. Value can be a symbol or list with additional properties.
- ;; (default '(spacemacs :separator wave :separator-scale 1.5))
- dotspacemacs-mode-line-theme '(spacemacs :separator wave :separator-scale 1.5)
- ;; If non-nil the cursor color matches the state color in GUI Emacs.
- ;; (default t)
- dotspacemacs-colorize-cursor-according-to-state t
- ;; Default font or prioritized list of fonts.
- ;; dotspacemacs-default-font '("Source Code Pro"
- ;; :size 20
- ;; :weight normal
- ;; :width normal)
- dotspacemacs-default-font
- '("Noto Sans Mono CJK SC" :size 20
- :weight normal
- :width normal
- :powerline-scale 1.1)
- ;; The leader key (default "SPC")
- dotspacemacs-leader-key "SPC"
- ;; The key used for Emacs commands `M-x' (after pressing on the leader key).
- ;; (default "SPC")
- dotspacemacs-emacs-command-key "SPC"
- ;; The key used for Vim Ex commands (default ":")
- dotspacemacs-ex-command-key ":"
- ;; The leader key accessible in `emacs state' and `insert state'
- ;; (default "M-m")
- dotspacemacs-emacs-leader-key "M-m"
- ;; Major mode leader key is a shortcut key which is the equivalent of
- ;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
- dotspacemacs-major-mode-leader-key ","
- ;; Major mode leader key accessible in `emacs state' and `insert state'.
- ;; (default "C-M-m")
- dotspacemacs-major-mode-emacs-leader-key "C-M-m"
- ;; These variables control whether separate commands are bound in the GUI to
- ;; the key pairs `C-i', `TAB' and `C-m', `RET'.
- ;; Setting it to a non-nil value, allows for separate commands under `C-i'
- ;; and TAB or `C-m' and `RET'.
- ;; In the terminal, these pairs are generally indistinguishable, so this only
- ;; works in the GUI. (default nil)
- dotspacemacs-distinguish-gui-tab nil
- ;; Name of the default layout (default "Default")
- dotspacemacs-default-layout-name "Default"
- ;; If non-nil the default layout name is displayed in the mode-line.
- ;; (default nil)
- dotspacemacs-display-default-layout nil
- ;; If non-nil then the last auto saved layouts are resumed automatically upon
- ;; start. (default nil)
- dotspacemacs-auto-resume-layouts nil
- ;; If non-nil, auto-generate layout name when creating new layouts. Only has
- ;; effect when using the "jump to layout by number" commands. (default nil)
- dotspacemacs-auto-generate-layout-names nil
- ;; Size (in MB) above which spacemacs will prompt to open the large file
- ;; literally to avoid performance issues. Opening a file literally means that
- ;; no major mode or minor modes are active. (default is 1)
- dotspacemacs-large-file-size 1
- ;; Location where to auto-save files. Possible values are `original' to
- ;; auto-save the file in-place, `cache' to auto-save the file to another
- ;; file stored in the cache directory and `nil' to disable auto-saving.
- ;; (default 'cache)
- dotspacemacs-auto-save-file-location 'cache
- ;; Maximum number of rollback slots to keep in the cache. (default 5)
- dotspacemacs-max-rollback-slots 5
- ;; If non-nil, the paste transient-state is enabled. While enabled, after you
- ;; paste something, pressing `C-j' and `C-k' several times cycles through the
- ;; elements in the `kill-ring'. (default nil)
- dotspacemacs-enable-paste-transient-state nil
- ;; Which-key delay in seconds. The which-key buffer is the popup listing
- ;; the commands bound to the current keystroke sequence. (default 0.4)
- dotspacemacs-which-key-delay 0.3
- ;; Which-key frame position. Possible values are `right', `bottom' and
- ;; `right-then-bottom'. right-then-bottom tries to display the frame to the
- ;; right; if there is insufficient space it displays it at the bottom.
- ;; (default 'bottom)
- dotspacemacs-which-key-position 'bottom
- ;; Control where `switch-to-buffer' displays the buffer. If nil,
- ;; `switch-to-buffer' displays the buffer in the current window even if
- ;; another same-purpose window is available. If non-nil, `switch-to-buffer'
- ;; displays the buffer in a same-purpose window even if the buffer can be
- ;; displayed in the current window. (default nil)
- dotspacemacs-switch-to-buffer-prefers-purpose nil
- ;; If non-nil a progress bar is displayed when spacemacs is loading. This
- ;; may increase the boot time on some systems and emacs builds, set it to
- ;; nil to boost the loading time. (default t)
- dotspacemacs-loading-progress-bar t
- ;; If non-nil the frame is fullscreen when Emacs starts up. (default nil)
- ;; (Emacs 24.4+ only)
- dotspacemacs-fullscreen-at-startup nil
- ;; If non-nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
- ;; Use to disable fullscreen animations in OSX. (default nil)
- dotspacemacs-fullscreen-use-non-native nil
- ;; If non-nil the frame is maximized when Emacs starts up.
- ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
- ;; (default nil) (Emacs 24.4+ only)
- dotspacemacs-maximized-at-startup nil
- ;; If non-nil the frame is undecorated when Emacs starts up. Combine this
- ;; variable with `dotspacemacs-maximized-at-startup' in OSX to obtain
- ;; borderless fullscreen. (default nil)
- dotspacemacs-undecorated-at-startup nil
- ;; A value from the range (0..100), in increasing opacity, which describes
- ;; the transparency level of a frame when it's active or selected.
- ;; Transparency can be toggled through `toggle-transparency'. (default 90)
- dotspacemacs-active-transparency 90
- ;; A value from the range (0..100), in increasing opacity, which describes
- ;; the transparency level of a frame when it's inactive or deselected.
- ;; Transparency can be toggled through `toggle-transparency'. (default 90)
- dotspacemacs-inactive-transparency 90
- ;; If non-nil show the titles of transient states. (default t)
- dotspacemacs-show-transient-state-title t
- ;; If non-nil show the color guide hint for transient state keys. (default t)
- dotspacemacs-show-transient-state-color-guide t
- ;; If non-nil unicode symbols are displayed in the mode line.
- ;; If you use Emacs as a daemon and wants unicode characters only in GUI set
- ;; the value to quoted `display-graphic-p'. (default t)
- dotspacemacs-mode-line-unicode-symbols t
- ;; If non-nil smooth scrolling (native-scrolling) is enabled. Smooth
- ;; scrolling overrides the default behavior of Emacs which recenters point
- ;; when it reaches the top or bottom of the screen. (default t)
- dotspacemacs-smooth-scrolling t
- ;; Control line numbers activation.
- ;; If set to `t', `relative' or `visual' then line numbers are enabled in all
- ;; `prog-mode' and `text-mode' derivatives. If set to `relative', line
- ;; numbers are relative. If set to `visual', line numbers are also relative,
- ;; but lines are only visual lines are counted. For example, folded lines
- ;; will not be counted and wrapped lines are counted as multiple lines.
- ;; This variable can also be set to a property list for finer control:
- ;; '(:relative nil
- ;; :visual nil
- ;; :disabled-for-modes dired-mode
- ;; doc-view-mode
- ;; markdown-mode
- ;; org-mode
- ;; pdf-view-mode
- ;; text-mode
- ;; :size-limit-kb 1000)
- ;; When used in a plist, `visual' takes precedence over `relative'.
- ;; (default nil)
- dotspacemacs-line-numbers t
- ;; Code folding method. Possible values are `evil' and `origami'.
- ;; (default 'evil)
- dotspacemacs-folding-method 'evil
- ;; If non-nil `smartparens-strict-mode' will be enabled in programming modes.
- ;; (default nil)
- dotspacemacs-smartparens-strict-mode nil
- ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
- ;; over any automatically added closing parenthesis, bracket, quote, etc...
- ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
- dotspacemacs-smart-closing-parenthesis nil
- ;; Select a scope to highlight delimiters. Possible values are `any',
- ;; `current', `all' or `nil'. Default is `all' (highlight any scope and
- ;; emphasis the current one). (default 'all)
- dotspacemacs-highlight-delimiters 'all
- ;; If non-nil, start an Emacs server if one is not already running.
- ;; (default nil)
- ;; qy
- dotspacemacs-enable-server t
- ;; Set the emacs server socket location.
- ;; If nil, uses whatever the Emacs default is, otherwise a directory path
- ;; like \"~/.emacs.d/server\". It has no effect if
- ;; `dotspacemacs-enable-server' is nil.
- ;; (default nil)
- dotspacemacs-server-socket-dir nil
- ;; If non-nil, advise quit functions to keep server open when quitting.
- ;; (default nil)qy 持久化emacs服務器
- dotspacemacs-persistent-server t
- ;; List of search tool executable names. Spacemacs uses the first installed
- ;; tool of the list. Supported tools are `rg', `ag', `pt', `ack' and `grep'.
- ;; (default '("rg" "ag" "pt" "ack" "grep"))
- dotspacemacs-search-tools '("rg" "ag" "pt" "ack" "grep")
- ;; Format specification for setting the frame title.
- ;; %a - the `abbreviated-file-name', or `buffer-name'
- ;; %t - `projectile-project-name'
- ;; %I - `invocation-name'
- ;; %S - `system-name'
- ;; %U - contents of $USER
- ;; %b - buffer name
- ;; %f - visited file name
- ;; %F - frame name
- ;; %s - process status
- ;; %p - percent of buffer above top of window, or Top, Bot or All
- ;; %P - percent of buffer above bottom of window, perhaps plus Top, or Bot or All
- ;; %m - mode name
- ;; %n - Narrow if appropriate
- ;; %z - mnemonics of buffer, terminal, and keyboard coding systems
- ;; %Z - like %z, but including the end-of-line format
- ;; (default "%I@%S")
- dotspacemacs-frame-title-format "%I@%S"
- ;; Format specification for setting the icon title format
- ;; (default nil - same as frame-title-format)
- dotspacemacs-icon-title-format nil
- ;; Delete whitespace while saving buffer. Possible values are `all'
- ;; to aggressively delete empty line and long sequences of whitespace,
- ;; `trailing' to delete only the whitespace at end of lines, `changed' to
- ;; delete only whitespace for changed lines or `nil' to disable cleanup.
- ;; (default nil)
- dotspacemacs-whitespace-cleanup nil
- ;; Either nil or a number of seconds. If non-nil zone out after the specified
- ;; number of seconds. (default nil)
- dotspacemacs-zone-out-when-idle nil
- ;;qy
- ;; If non nil, `helm' will try to minimize the space it uses. (default nil)
- dotspacemacs-helm-resize nil
- ;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching
- ;; in all non-asynchronous sources. If set to `source', preserve individual
- ;; source settings. Else, disable fuzzy matching in all sources.
- ;; (default 'always)
- dotspacemacs-helm-use-fuzzy 'always
- ;;no qy
- ;; Run `spacemacs/prettify-org-buffer' when
- ;; visiting README.org files of Spacemacs.
- ;; (default nil)
- dotspacemacs-pretty-docs nil))
- (defun dotspacemacs/user-env ()
- "Environment variables setup.
- This function defines the environment variables for your Emacs session. By
- default it calls `spacemacs/load-spacemacs-env' which loads the environment
- variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
- See the header of this file for more information."
- (spacemacs/load-spacemacs-env)
- )
- (defun dotspacemacs/user-init ()
- "Initialization for user code:
- This function is called immediately after `dotspacemacs/init', before layer
- configuration.
- It is mostly for variables that should be set before packages are loaded.
- If you are unsure, try setting them in `dotspacemacs/user-config' first."
- ;;qy no do
- ;; (setq configuration-layer--elpa-archives
- ;; '(("melpa-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")
- ;; ("org-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/org/")
- ;; ("gnu-cn" . "http://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/")))
- ;;(setq configuration-layer--elpa-archives
- ;; '(("melpa-cn" . "http://elpa.emacs-china.org/melpa/")
- ;; ("org-cn" . "http://elpa.emacs-china.org/org/")
- ;; ("gnu-cn" . "http://elpa.emacs-china.org/gnu/")))
- (setq-default
- configuration-layer--elpa-archives
- '(("gnu" . "http://elpa.emacs-china.org/gnu/")
- ("melpa" . "http://elpa.emacs-china.org/melpa/")
- ("melpa-stable" . "http://elpa.emacs-china.org/melpa-stable/")))
- ;;qy wrong bug nowork
- ;;(global-evil-mc-mode 1) ;; Always enable evil multiple cursor
- )
- (defun dotspacemacs/user-load ()
- "Library to load while dumping.
- This function is called only while dumping Spacemacs configuration. You can
- `require' or `load' the libraries of your choice that will be included in the
- dump."
- ;; (add-to-list 'load-path "~/notdeft")
- ;; (load "notdeft-example")
- ;; (require 'notdeft-autoloads)
- ;; (autoload 'helm-chrome)
- (require 'helm-chrome)
- (require 'helm-chrome-history)
- (require 'helm-chrome-control)
- (require 'helm-osx-app)
- (setq helm-pattern "100")
- (setq helm--maybe-use-default-as-input nil)
- ;; (add-to-list 'load-path "~/bin/emacs-libvterm")
- ;; (require 'vterm)
- )
- (defun dotspacemacs/user-config ()
- "Configuration for user code:
- This function is called at the very end of Spacemacs startup, after layer
- configuration.
- Put your configuration code here, except for variables that should be set
- before packages are loaded."
- (use-package smart-input-source
- :config
- (setq smart-input-source-english-input-source
- "com.apple.keylayout.US")
- (setq smart-input-source-other-input-source
- "im.rime.inputmethod.Squirrel.Rime")
- (add-hook text-mode-hook #'smart-input-source-mode)
- (add-hook prog-mode-hook #'smart-input-source-mode)
- )
- ;;qy test 20200526 啟示清空
- (setq gc-cons-threshold 100000000)
- ;;(setq package-enable-at-startup nil)
- (defvar better-gc-cons-threshold 67108864 ; 64mb
- "The default value to use for `gc-cons-threshold'.
- If you experience freezing, decrease this. If you experience stuttering, increase this.")
- ;; (add-hook 'emacs-startup-hook
- ;; (lambda ()
- ;; (setq gc-cons-threshold better-gc-cons-threshold)
- ;; (setq file-name-handler-alist file-name-handler-alist-original)
- ;; (makunbound 'file-name-handler-alist-original)))
- ;; ;;qy test 20200526 company 文字補全功能
- ;;https://github.com/MatthewZMD/.emacs.d#org322941d
- ;; (use-package company
- ;; :diminish company-mode
- ;; :hook ((prog-mode LaTeX-mode latex-mode ess-r-mode) . company-mode)
- ;; :bind
- ;; (:map company-active-map
- ;; ([tab] . smarter-yas-expand-next-field-complete)
- ;; ("TAB" . smarter-yas-expand-next-field-complete))
- ;; :custom
- ;; (company-minimum-prefix-length 1)
- ;; (company-tooltip-align-annotations t)
- ;; (company-begin-commands '(self-insert-command))
- ;; (company-require-match 'never)
- ;; ;; Don't use company in the following modes
- ;; (company-global-modes '(not shell-mode eaf-mode))
- ;; ;; Trigger completion immediately.
- ;; (company-idle-delay 0.1)
- ;; ;; Number the candidates (use M-1, M-2 etc to select completions).
- ;; (company-show-numbers t)
- ;; :config
- ;; (unless *clangd* (delete 'company-clang company-backends))
- ;; (global-company-mode 1)
- ;; (defun smarter-yas-expand-next-field-complete ()
- ;; "Try to `yas-expand' and `yas-next-field' at current cursor position.
- ;; If failed try to complete the common part with `company-complete-common'"
- ;; (interactive)
- ;; (if yas-minor-mode
- ;; (let ((old-point (point))
- ;; (old-tick (buffer-chars-modified-tick)))
- ;; (yas-expand)
- ;; (when (and (eq old-point (point))
- ;; (eq old-tick (buffer-chars-modified-tick)))
- ;; (ignore-errors (yas-next-field))
- ;; (when (and (eq old-point (point))
- ;; (eq old-tick (buffer-chars-modified-tick)))
- ;; (company-complete-common))))
- ;; (company-complete-common))))
- ;;qy test 20200526 org2md github風格
- (use-package ox-gfm :defer t)
- (eval-after-load "org"
- '(require 'ox-gfm nil t))
- ;; (setq vterm-shell "zsh")
- ;; (add-hook 'vterm-set-title-functions 'vterm--rename-buffer-as-title)
- (setq-default history-length 1000)
- ;;qy 避免锁定临时文件
- ;; (setq recentf-save-file (format "/tmp/recentf.%s" (emacs-pid)))
- ;; or
- ;; (setq recentf-save-file (format "%s.%s" recentf-save-file server-name))
- ;; (cancel-timer recentf-auto-save-timer)
- ;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- ;; qy 试试 setup history of edited file
- ;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- (savehist-mode 1)
- (setq savehist-file "~/.emacs.d/.savehist")
- (setq history-length t)
- (setq history-delete-duplicates t)
- (setq savehist-save-minibuffer-history 1)
- (setq savehist-additional-variables
- '(kill-ring
- search-ring
- regexp-search-ring))
- ;;多个 Emacs 打开同一份文件时,会自动产生一个 .#xxx 的文件,很烦人,去掉:
- (setq create-lockfiles nil)
- ;;qy helm
- (require 'helm)
- (require 'helm-config)
- ;;qy helm 自动大小?
- (helm :variables helm-enable-auto-resize t)
- ;;qy 设置vim在helm中执行
- (setq hybrid-style-enable-hjkl-bindings t)
- ;; (setq basic-save-buffer "~/.emacs.d/helm.buffer")
- ;;qy ceshi
- (defun spacemacs//helm-hide-minibuffer-maybe ()
- "Hide minibuffer in Helm session if we use the header line as input field."
- (when (with-helm-buffer helm-echo-input-in-header-line)
- (let ((ov (make-overlay (point-min) (point-max) nil nil t)))
- (overlay-put ov 'window (selected-window))
- (overlay-put ov 'face
- (let ((bg-color (face-background 'default nil)))
- `(:background ,bg-color :foreground ,bg-color)))
- (setq-local cursor-type nil))))
- (add-hook 'helm-minibuffer-set-up-hook
- 'spacemacs//helm-hide-minibuffer-maybe)
- (helm-mode 1)
- ;;qy
- ;; Prevent error "No buffer named *helm*" triggered by
- ;; `helm-set-local-variable'.
- ;;(setq helm--force-updating-p nil)
- ;;(setq helm--buffer-in-new-frame-p nil)
- ;; Reset helm-pattern so that lambda's using it
- ;; before running helm will not start with its old value.
- ;;(setq helm-pattern "100")
- ;;(setq helm--ignore-errors t)
- ;;qy
- ;; 指定ファイルを自動保存
- ;; (require 'auto-save-buffers-enhanced)
- ;; (setq auto-save-buffers-enhanced-include-regexps '("\\.\\(hpp\\|cpp\\|c\\|h\\|m\\|mm\\|pl\\|cgi\\|json\\|param\\|vsh\\|fsh\\)$"))
- ;; (setq auto-save-buffers-enhanced-interval 1)
- ;; (setq auto-save-buffers-enhanced-quiet-save-p t)
- ;; (auto-save-buffers-enhanced t)
- ;; (setq howm-menu-lang 'en)
- ;; (global-set-key "\C-c,," 'howm-menu)
- ;; (autoload 'howm-menu "howm-mode" "Hitori Otegaru Wiki Modoki" t)
- ;; 关闭启动画面
- (setq inhibit-startup-message t)
- ;;當前行高亮顯示
- (global-hl-line-mode 1)
- ;;顯示時間
- (display-time-mode t)
- ;;qy setup utf-8
- ;; (set-language-environment "UTF-8")
- ;; (set-default-coding-systems 'utf-8)
- ;; ;;qy dibutiao
- ;; ;;(setq powerline-default-separator'utf-8)
- ;; (set-buffer-file-coding-system 'utf-8-unix)
- ;; (set-clipboard-coding-system 'utf-8-unix)
- ;; (set-file-name-coding-system 'utf-8-unix)
- ;; (set-keyboard-coding-system 'utf-8-unix)
- ;; (set-next-selection-coding-system 'utf-8-unix)
- ;; (set-selection-coding-system 'utf-8-unix)
- ;; (set-terminal-coding-system 'utf-8-unix)
- ;; (setq locale-coding-system 'utf-8)
- ;; (prefer-coding-system 'gb18030)
- ;; (prefer-coding-system 'utf-8)
- ;; qy -- cofig fctix
- ;; (with-eval-after-load 'fcitx
- ;; ;; Make sure the following comes before `(fcitx-aggressive-setup)’
- ;; (setq fcitx-active-evil-states '(insert emacs hybrid))
- ;; ;; For Spacemacs use hybrid mode。 默认方式是 '(insert emacs)
- ;; (fcitx-aggressive-setup) ; 如果要在 minibuffer 里输入中文,就改成
- ;; (fcitx-default-setup)
- ;; (fcitx-prefix-keys-add "M-m") ; M-m is common in Spacemacs
- ;; ;;(setq fcitx-use-dbus t) ; uncomment if you’re using Linux
- ;; ;; remove all keybindings from insert-state keymap,it is VERY VERY important
- ;; (fcitx-prefix-keys-turn-off) ;
- ;; ;;(setcdr evil-insert-state-map t)
- ;; (fcitx-evil-turn-on)
- ;; (fcitx-isearch-turn-on)
- ;; )
- (use-package fcitx
- :ensure t
- :after exec-path-from-shell
- :init
- (fcitx-aggressive-setup)
- (fcitx-prefix-keys-turn-off))
- ;;設置jk是行內上下行
- (define-key evil-normal-state-map (kbd "j") 'evil-next-visual-line)
- (define-key evil-normal-state-map (kbd "k") 'evil-previous-visual-line)
- ;;用我下面的Elisp函数来实现一键自动转换的功能 org 2 docx
- (defun org-export-docx ()
- (interactive)
- (let ((docx-file (concat (file-name-sans-extension (buffer-file-name)) ".docx"))
- (template-file "/Users/chinhant/org/template.docx"))
- (shell-command (format "pandoc %s -o %s --reference-doc=%s" (buffer-file-name) docx-file template-file))
- (message "Convert finish: %s" docx-file)))
- ;; ;;qy 20200526打
- ;; (use-package rime
- ;; :bind
- ;; (:map rime-mode-map
- ;; ("C-`" . 'rime-send-keybinding))
- ;; )
- ;; ;; :custom
- ;; ;; (default-input-method "rime"))
- ;; ;; ;;; Code:
- ;; ;; (setq rime-user-data-dir "/Users/chinhant/Library/Rime")
- ;; ;;(rime-librime-root "/Users/chinhant/.emacs.d/private/local/emacs-rime")
- ;; ;;(rime-lib-select-schema "cangjie6")
- ;; (setq rime-posframe-properties
- ;; (list :background-color "#000000"
- ;; :foreground-color "#dcdccc"
- ;; :font "WenQuanYi Micro Hei Mono-14"
- ;; :internal-border-width 10))
- ;; (bind-key "C-`" 'rime-send-keybinding rime-mode-map)
- ;; ;;设置中国日历
- (require 'cal-china-x)
- (setq mark-holidays-in-calendar t)
- (setq cal-china-x-important-holidays cal-china-x-chinese-holidays)
- (setq cal-china-x-general-holidays '((holiday-lunar 1 15 "元宵节")))
- (setq calendar-holidays
- (append cal-china-x-important-holidays
- cal-china-x-general-holidays
- ))
- ;;qy 中文日曆,週一第一天 => "Monday"
- (let ((system-time-locale "zh_CN.UTF-8"))
- (format-time-string "%A"))
- (setq calendar-week-start-day 1)
- ;;qy org gtd setup
- (with-eval-after-load 'org
- ;; here goes your Org config :)
- ;; ....
- ;;qy
- (define-key org-mode-map (kbd "M-c") 'org-mac-chrome-insert-frontmost-url)
- ;;不起效果(spacemacs/set-leader-keys "ig" 'org-mac-chrome-insert-frontmost-url)
- (add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)));实现 org-mode 中的自动换行
- ;;qy (evil-org-set-key-theme '(todo))
- ;;(type "漢字(z!)" "中醫(y!)" "文始道(d!)" "井通(t!)" "科技(j!)" "紅樓夢(m!)" "|")
- (setq org-todo-keywords
- '((sequence "TODO(t!)" "SOMEDAY(s)" "|" "DONE(d!)" "CANCEL(c @/!)")
- ))
- ;;qy [[file:/Users/chinhant/org/電腦配置.org][配置說明]]
- ;;; "* %?\nEntered on %U\n %i\n %a")
- ;; (setq org-capture-templates
- ;; '(("t" "Todo" entry (file+headline "~/org/待辦.org" "Inbox")
- ;; "* TODO [#B] %?\n %i\n %a %t")
- ;; ("s" "SOMEDAY" entry (file+headline "~/org/待辦.org" "Someday")
- ;; "* SOMEDAY %?\n %i\n %a %t"
- ;; :empty-lines 1)
- ;; ("n" "筆記" entry (file "~/org/筆記.org")
- ;; "* %? \n%U\n%a\n" :clock-in t :clock-resume t)
- ;; ("b" "書籤" entry (file "~/org/網摘.org" "書籤")
- ;; "* %?\nEntered on %U\n %i\n %a")
- ;; ("w" "網摘" entry (file "~/org/網摘.org" "網摘")
- ;; "* %?\nEntered on %U\n %i\n %a")
- ;; ("l" "靈感" entry (file "~/org/靈感.org")
- ;; "* %?\nEntered on %U\n %i\n %a")))
- ;; (defun generate-anki-note-body ()
- ;; (interactive)
- ;; (message "Fetching note types...")
- ;; (let ((note-types (sort (anki-editor-note-types) #'string-lessp))
- ;; (decks (sort (anki-editor-deck-names) #'string-lessp))
- ;; deck note-type fields)
- ;; (setq deck (completing-read "Choose a deck: " decks))
- ;; (setq note-type (completing-read "Choose a note type: " note-types))
- ;; (message "Fetching note fields...")
- ;; (setq fields (anki-editor--anki-connect-invoke-result "modelFieldNames" `((modelName . ,note-type))))
- ;; (concat " :PROPERTIES:\n"
- ;; " :ANKI_DECK: " deck "\n"
- ;; " :ANKI_NOTE_TYPE: " note-type "\n"
- ;; " :END:\n\n"
- ;; (mapconcat (lambda (str) (concat "** " str))
- ;; fields
- ;; "\n\n"))))
- ;;设置默认储存文件,否则出错qy
- ;; (setq org-default-notes-file "~/org/gtd/inbox.org")
- (setq org-capture-templates '(
- ("i" "inbox" entry (file+headline "~/org/gtd/inbox.org" "inbox")
- "* TODO [#B] %i%? %t %^g\n %a" :empty-lines 1)
- ("s" "Someday" entry (file+headline "~/org/gtd/someday.org" "Someday")
- "* SOMEDAY %? %t %^g\n" :empty-lines 1)
- ("d" "iDea" entry (file+headline "~/org/gtd/someday.org" "idea")
- "* SOMEDAY %? %t %^g\n" :empty-lines 1)
- ("g" "GTD" entry (file+datetree "~/org/gtd/gtd.org")
- "* TODO [#B] %i%? %t %^g\n %a" :empty-lines 1)
- ("r" "時習" entry (file+headline "~/org/學習.org" "時習")
- "* %? \n %c\n %i%T %a" :empty-lines 1)
- ("b" "書籤" entry (file+headline "~/org/webclip.org" "書籤")
- "* %? %(org-mac-chrome-get-frontmost-url) %^g\n %U " :empty-lines 1)
- ("w" "網摘" entry (file+headline "~/org/webclip.org" "網摘")
- "* %? %(org-mac-chrome-get-frontmost-url) %^g\n %c\n %U " :empty-lines 1)
- ;; ("v" "Vocabulary" entry
- ;; (file+headline "~/org/anki.org" "V")
- ;; ,(concat "* %^{heading} :note:\n"
- ;; "%(generate-anki-note-body)\n"))
- ))
- ;; (setq org-capture-templates '(
- ;; ("i" "inbox" entry (file+headline "~/gtd/inbox.org" "inbox")
- ;; "* TODO [#B] %U %i%?" :empty-lines 1)
- ;; ("s" "someday" entry (file+headline "~/gtd/someday.org" "some day")
- ;; "* TODO [#C] %U %i%?" :empty-lines 1)
- ;; ("g" "GTD" entry (file+datetree "~/gtd/gtd.org")
- ;; "* TODO [#B] %U %i%?" :empty-lines 1)
- ;; ))
- ;;转发到普通文件
- (setq org-refile-targets '(
- ("~/org/gtd/someday.org" :level . 1)
- ("~/org/gtd/gtd.org" :maxlevel . 3)
- ))
- ;; ;;转发到 datetree 文件
- ;; (defun he/org-read-datetree-date (d)
- ;; (let ((dtmp (nthcdr 3 (parse-time-string d))))
- ;; (list (cadr dtmp) (car dtmp) (caddr dtmp))))
- ;;
- ;; ;; refile 一个 entry 到 gtd.org 文件
- ;; (defun he/org-refile-to-datetree (&optional bfn)
- ;; (interactive)
- ;; (require 'org-datetree)
- ;; (let* ((bfn (or bfn (find-file-noselect (expand-file-name "~/org/gtd/gtd.org"))))
- ;; (datetree-date (he/org-read-datetree-date (org-read-date t nil))))
- ;; (org-refile nil nil (list nil (buffer-file-name bfn) nil
- ;; (with-current-buffer bfn
- ;; (save-excursion
- ;; (org-datetree-find-date-create datetree-date)
- ;; (point)))))))
- ;;
- ; config org-agenda
- (setq org-agenda-files '("~/org/gtd"))
- (setq org-agenda-files '("~/org/gtd/inbox.org"
- "~/org/gtd/gtd.org"
- "~/org/gtd/someday.org"))
- ;;水木火土金,亂,無,有 “☯” “☰” “☱” “☲” “☳” “☴” “☵” “☶” “☷” “♠” “♣” “♥” “♦”
- (setq org-bullets-bullet-list '("☯" "♦" "▲" "■" "★" "✸" "○" "◉"))
- ;; 折叠时不再显示「...」
- (setq org-ellipsis "▼")
- ;; qy
- ;;(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.
- ;;'(blink-cursor-mode nil)
- ;;'(column-number-mode t)
- ;;'(org-agenda-files
- ;; (quote
- ;; ("~/org/notes.org")))
- ;; qy add OS notification for org-pormodor https://github.com/MedicMedic/.spacemacs.d/blob/master/init.el
- ;; (defun notify-osx (title message)
- ;; (call-process "terminal-notifier"
- ;; nil 0 nil
- ;; "-group" "Emacs"
- ;; "-title" title
- ;; "-sender" "org.gnu.Emacs"
- ;; "-message" message
- ;; "-activate" "org.gnu.Emacs"))
- ;;
- ;;
- ;; (require 'org-pomodoro)
- ;;
- ;; (add-hook 'org-pomodoro-finished-hook
- ;; (lambda ()
- ;; (notify-osx "Pomodoro completed!" "️Time for a break.")))
- ;; (add-hook 'org-pomodoro-break-finished-hook
- ;; (lambda ()
- ;; (notify-osx "Pomodoro Short Break Finished" "Ready for Another?")))
- ;; (add-hook 'org-pomodoro-long-break-finished-hook
- ;; (lambda ()
- ;; (notify-osx "Pomodoro Long Break Finished" "Ready for Another?")))
- ;; (add-hook 'org-pomodoro-killed-hook
- ;; (lambda ()
- ;; (notify-osx "Pomodoro Killed" "One does not simply kill a pomodoro!")))
- ;;
- ;;(package! notdeft :recipe (:host github :repo "hasu/notdeft"))
- ;;(use-package! notdeft
- ;; :config
- ;; qy org 結束
- )
- ;;qy roam 20200529
- (defconst org-roam-packages
- '(org-roam))
- (defun org-roam/init-org-roam ()
- (use-package org-roam
- :hook
- (after-init . org-roam-mode)
- :custom
- (org-roam-directory "/Users/chinhant/org/")
- :init
- (progn
- (spacemacs/declare-prefix "ar" "org-roam")
- (spacemacs/set-leader-keys
- "arl" 'org-roam
- "art" 'org-roam-dailies-today
- "arf" 'org-roam-find-file
- "arg" 'org-roam-graph)
- (spacemacs/declare-prefix-for-mode 'org-mode "mr" "org-roam")
- (spacemacs/set-leader-keys-for-major-mode 'org-mode
- "rl" 'org-roam
- "rt" 'org-roam-dailies-today
- "rb" 'org-roam-switch-to-buffer
- "rf" 'org-roam-find-file
- "ri" 'org-roam-insert
- "rg" 'org-roam-graph))))
- ;; 只有当打开的文件超过100MB时,才产生警告
- (setq large-file-warning-threshold 100000000)
- ;;加快啓動速度
- (setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
- ;; 失去焦點,即可保存文件
- (add-hook 'focus-out-hook 'save-buffer)
- ;;qy notdeft 第一行解決創建中文文件名
- (setq notdeft-notename-function '(lambda (str) str))
- (setq notdeft-extensions "org")
- ;; (setq notdeft-default-extension "org")
- (setq notdeft-secondary-extensions '("md" "txt"))
- (setq notdeft-directories '("~/org/note/nvaltnote"
- "~/org/note/joplinoutput"
- ))
- ;;支持中文搜索
- (setenv "XAPIAN_CJK_NGRAM" "1")
- ;; :bind (:map notdeft-mode-map
- ;; ("C-q" . notdeft-quit)
- ;; ("C-r" . notdeft-refresh)
- ;; )
- ;; ;;設置notdeft顯示文件目錄名
- ;; (setq notdeft-file-display-function
- ;; (lambda (file w)
- ;; (when (> w 30)
- ;; (let* ((s (file-name-nondirectory
- ;; (directory-file-name
- ;; (notdeft-dir-of-file file))))
- ;; (s (pcase s
- ;; ("bibliography-notes" "bib")
- ;; ("homepage-notes" "hp")
- ;; (_ s)))
- ;; (s (if (> (string-width s) 12)
- ;; (truncate-string-to-width s 12)
- ;; s)))
- ;; (concat " " s)))))
- ;;qy usr's /Users/chinhant/notdeftaaa /Users/chinhant/notdeft/xapian
- )
- ;; Do not write anything past this comment. This is where Emacs will
- ;; auto-generate custom variable definitions.
- (defun dotspacemacs/emacs-custom-settings ()
- "Emacs custom settings.
- This is an auto-generated function, do not modify its content directly, use
- Emacs customize menu instead.
- This function is called at the very end of Spacemacs initialization."
- (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.
- '(ansi-color-names-vector
- ["#0a0814" "#f2241f" "#67b11d" "#b1951d" "#4f97d7" "#a31db1" "#28def0" "#b2b2b2"])
- '(company-begin-commands (quote (self-insert-command)) t)
- '(company-global-modes (quote (not shell-mode eaf-mode)) t)
- '(company-idle-delay 0.1 t)
- '(company-minimum-prefix-length 1 t)
- '(company-require-match (quote never) t)
- '(company-show-numbers t t)
- '(company-tooltip-align-annotations t t)
- '(custom-enabled-themes (quote (spacemacs-light)))
- '(custom-safe-themes
- (quote
- ("fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" default)))
- '(evil-want-Y-yank-to-eol nil)
- '(hl-todo-keyword-faces
- (quote
- (("TODO" . "#dc752f")
- ("NEXT" . "#dc752f")
- ("THEM" . "#2d9574")
- ("PROG" . "#4f97d7")
- ("OKAY" . "#4f97d7")
- ("DONT" . "#f2241f")
- ("FAIL" . "#f2241f")
- ("DONE" . "#86dc2f")
- ("NOTE" . "#b1951d")
- ("KLUDGE" . "#b1951d")
- ("HACK" . "#b1951d")
- ("TEMP" . "#b1951d")
- ("FIXME" . "#dc752f")
- ("XXX+" . "#dc752f")
- ("\\?\\?\\?+" . "#dc752f"))))
- '(notdeft-xapian-program "/Users/chinhant/notdeft/xapian/notdeft-xapian" t)
- '(org-modules
- (quote
- (ol-docview ol-gnus org-habit ol-info ol-mhe ol-w3m org-learn org-mac-link org-notify org-screen)))
- '(org-roam-directory "/Users/chinhant/org/")
- '(package-selected-packages
- (quote
- (org-roam-server org-roam ox-gfm xterm-color shell-pop multi-term eshell-z eshell-prompt-extras esh-help vterm-toggle anki-editor 0blayout helm-osx-app helm-chrome-control helm-chrome-history helm-chrome notdeft org-wild-notifier cal-china-x yaml-mode ws-butler writeroom-mode winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package treemacs-projectile treemacs-magit treemacs-evil toc-org tagedit symon symbol-overlay string-inflection spaceline-all-the-icons smeargle slim-mode scss-mode sass-mode reveal-in-osx-finder restart-emacs rainbow-delimiters pyim pug-mode prettier-js popwin persp-mode pcre2el password-generator paradox pangu-spacing overseer osx-trash osx-dictionary osx-clipboard orgit org-projectile org-present org-pomodoro org-mime org-download org-cliplink org-bullets org-brain open-junk-file nameless move-text mmm-mode markdown-toc magit-svn magit-gitflow macrostep lua-mode lorem-ipsum link-hint launchctl indent-guide impatient-mode hybrid-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org-rifle helm-org helm-mode-manager helm-make helm-ls-git helm-gitignore helm-git-grep helm-flx helm-descbinds helm-css-scss helm-ag google-translate golden-ratio gnuplot gmail-message-mode gitignore-templates gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md font-lock+ flymd flycheck-package flx-ido find-by-pinyin-dired fill-column-indicator fcitx fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line 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-ediff evil-cleverparens evil-args evil-anzu eval-sexp-fu engine-mode emmet-mode elisp-slime-nav editorconfig edit-server dumb-jump dotenv-mode doom-modeline diminish devdocs deft column-enforce-mode clean-aindent-mode chinese-conv centered-cursor-mode auto-highlight-symbol auto-compile aggressive-indent ace-pinyin ace-link ace-jump-helm-line)))
- '(pdf-view-midnight-colors (quote ("#b2b2b2" . "#292b2e"))))
- (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.
- )
- )
Add Comment
Please, Sign In to add comment