Guest User

Untitled

a guest
Sep 29th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 27.87 KB | None | 0 0
  1. ;; -*- mode: emacs-lisp; lexical-binding: t -*-
  2. ;; This file is loaded by Spacemacs at startup.
  3. ;; It must be stored in your home directory.
  4.  
  5. (defun dotspacemacs/layers ()
  6.   "Layer configuration:
  7. This function should only modify configuration layer settings."
  8.   (setq-default
  9.    ;; Base distribution to use. This is a layer contained in the directory
  10.    ;; `+distribution'. For now available distributions are `spacemacs-base'
  11.    ;; or `spacemacs'. (default 'spacemacs)
  12.    dotspacemacs-distribution 'spacemacs
  13.  
  14.    ;; Lazy installation of layers (i.e. layers are installed only when a file
  15.    ;; with a supported type is opened). Possible values are `all', `unused'
  16.    ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers
  17.    ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
  18.    ;; lazy install any layer that support lazy installation even the layers
  19.    ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
  20.    ;; installation feature and you have to explicitly list a layer in the
  21.    ;; variable `dotspacemacs-configuration-layers' to install it.
  22.    ;; (default 'unused)
  23.    dotspacemacs-enable-lazy-installation 'unused
  24.  
  25.    ;; If non-nil then Spacemacs will ask for confirmation before installing
  26.    ;; a layer lazily. (default t)
  27.    dotspacemacs-ask-for-lazy-installation t
  28.  
  29.    ;; List of additional paths where to look for configuration layers.
  30.    ;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
  31.    dotspacemacs-configuration-layer-path '()
  32.  
  33.    ;; List of configuration layers to load.
  34.    dotspacemacs-configuration-layers
  35.    '(clojure
  36.      ;; ----------------------------------------------------------------
  37.      ;; Example of useful layers you may want to use right away.
  38.      ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
  39.      ;; `M-m f e R' (Emacs style) to install them.
  40.      ;; ----------------------------------------------------------------
  41.      auto-completion
  42.      ;; better-defaults
  43.      emacs-lisp
  44.      ;; git
  45.      helm
  46.      lsp
  47.      markdown
  48.      multiple-cursors
  49.      ;; org
  50.      ;; (shell :variables
  51.      ;;        shell-default-height 30
  52.      ;;        shell-default-position 'bottom)
  53.      ;; spell-checking
  54.      ;; syntax-checking
  55.      ;; version-control
  56.      '(clojure :variables
  57.                clojure-enable-linters 'clj-kondo)
  58.      treemacs)
  59.  
  60.  
  61.    ;; List of additional packages that will be installed without being wrapped
  62.    ;; in a layer (generally the packages are installed only and should still be
  63.    ;; loaded using load/require/use-package in the user-config section below in
  64.    ;; this file). If you need some configuration for these packages, then
  65.    ;; consider creating a layer. You can also put the configuration in
  66.    ;; `dotspacemacs/user-config'. To use a local version of a package, use the
  67.    ;; `:location' property: '(your-package :location "~/path/to/your-package/")
  68.    ;; Also include the dependencies as they will not be resolved automatically.
  69.    dotspacemacs-additional-packages '()
  70.  
  71.    ;; A list of packages that cannot be updated.
  72.    dotspacemacs-frozen-packages '()
  73.  
  74.    ;; A list of packages that will not be installed and loaded.
  75.    dotspacemacs-excluded-packages '()
  76.  
  77.    ;; Defines the behaviour of Spacemacs when installing packages.
  78.    ;; Possible values are `used-only', `used-but-keep-unused' and `all'.
  79.    ;; `used-only' installs only explicitly used packages and deletes any unused
  80.    ;; packages as well as their unused dependencies. `used-but-keep-unused'
  81.    ;; installs only the used packages but won't delete unused ones. `all'
  82.    ;; installs *all* packages supported by Spacemacs and never uninstalls them.
  83.    ;; (default is `used-only')
  84.    dotspacemacs-install-packages 'used-only))
  85.  
  86. (defun dotspacemacs/init ()
  87.   "Initialization:
  88. This function is called at the very beginning of Spacemacs startup,
  89. before layer configuration.
  90. It should only modify the values of Spacemacs settings."
  91.   ;; This setq-default sexp is an exhaustive list of all the supported
  92.   ;; spacemacs settings.
  93.   (setq-default
  94.    ;; If non-nil then enable support for the portable dumper. You'll need to
  95.    ;; compile Emacs 27 from source following the instructions in file
  96.    ;; EXPERIMENTAL.org at to root of the git repository.
  97.    ;;
  98.    ;; WARNING: pdumper does not work with Native Compilation, so it's disabled
  99.    ;; regardless of the following setting when native compilation is in effect.
  100.    ;;
  101.    ;; (default nil)
  102.    dotspacemacs-enable-emacs-pdumper nil
  103.  
  104.    ;; Name of executable file pointing to emacs 27+. This executable must be
  105.    ;; in your PATH.
  106.    ;; (default "emacs")
  107.    dotspacemacs-emacs-pdumper-executable-file "emacs"
  108.  
  109.    ;; Name of the Spacemacs dump file. This is the file will be created by the
  110.    ;; portable dumper in the cache directory under dumps sub-directory.
  111.    ;; To load it when starting Emacs add the parameter `--dump-file'
  112.    ;; when invoking Emacs 27.1 executable on the command line, for instance:
  113.    ;;   ./emacs --dump-file=$HOME/.emacs.d/.cache/dumps/spacemacs-27.1.pdmp
  114.    ;; (default (format "spacemacs-%s.pdmp" emacs-version))
  115.    dotspacemacs-emacs-dumper-dump-file (format "spacemacs-%s.pdmp" emacs-version)
  116.  
  117.    ;; If non-nil ELPA repositories are contacted via HTTPS whenever it's
  118.    ;; possible. Set it to nil if you have no way to use HTTPS in your
  119.    ;; environment, otherwise it is strongly recommended to let it set to t.
  120.    ;; This variable has no effect if Emacs is launched with the parameter
  121.    ;; `--insecure' which forces the value of this variable to nil.
  122.    ;; (default t)
  123.    dotspacemacs-elpa-https t
  124.  
  125.    ;; Maximum allowed time in seconds to contact an ELPA repository.
  126.    ;; (default 5)
  127.    dotspacemacs-elpa-timeout 5
  128.  
  129.    ;; Set `gc-cons-threshold' and `gc-cons-percentage' when startup finishes.
  130.    ;; This is an advanced option and should not be changed unless you suspect
  131.    ;; performance issues due to garbage collection operations.
  132.    ;; (default '(100000000 0.1))
  133.    dotspacemacs-gc-cons '(100000000 0.1)
  134.  
  135.    ;; Set `read-process-output-max' when startup finishes.
  136.    ;; This defines how much data is read from a foreign process.
  137.    ;; Setting this >= 1 MB should increase performance for lsp servers
  138.    ;; in emacs 27.
  139.    ;; (default (* 1024 1024))
  140.    dotspacemacs-read-process-output-max (* 1024 1024)
  141.  
  142.    ;; If non-nil then Spacelpa repository is the primary source to install
  143.    ;; a locked version of packages. If nil then Spacemacs will install the
  144.    ;; latest version of packages from MELPA. Spacelpa is currently in
  145.    ;; experimental state please use only for testing purposes.
  146.    ;; (default nil)
  147.    dotspacemacs-use-spacelpa nil
  148.  
  149.    ;; If non-nil then verify the signature for downloaded Spacelpa archives.
  150.    ;; (default t)
  151.    dotspacemacs-verify-spacelpa-archives t
  152.  
  153.    ;; If non-nil then spacemacs will check for updates at startup
  154.    ;; when the current branch is not `develop'. Note that checking for
  155.    ;; new versions works via git commands, thus it calls GitHub services
  156.    ;; whenever you start Emacs. (default nil)
  157.    dotspacemacs-check-for-update nil
  158.  
  159.    ;; If non-nil, a form that evaluates to a package directory. For example, to
  160.    ;; use different package directories for different Emacs versions, set this
  161.    ;; to `emacs-version'. (default 'emacs-version)
  162.    dotspacemacs-elpa-subdirectory 'emacs-version
  163.  
  164.    ;; One of `vim', `emacs' or `hybrid'.
  165.    ;; `hybrid' is like `vim' except that `insert state' is replaced by the
  166.    ;; `hybrid state' with `emacs' key bindings. The value can also be a list
  167.    ;; with `:variables' keyword (similar to layers). Check the editing styles
  168.    ;; section of the documentation for details on available variables.
  169.    ;; (default 'vim)
  170.    dotspacemacs-editing-style 'vim
  171.  
  172.    ;; If non-nil show the version string in the Spacemacs buffer. It will
  173.    ;; appear as (spacemacs version)@(emacs version)
  174.    ;; (default t)
  175.    dotspacemacs-startup-buffer-show-version t
  176.  
  177.    ;; Specify the startup banner. Default value is `official', it displays
  178.    ;; the official spacemacs logo. An integer value is the index of text
  179.    ;; banner, `random' chooses a random text banner in `core/banners'
  180.    ;; directory. A string value must be a path to an image format supported
  181.    ;; by your Emacs build.
  182.    ;; If the value is nil then no banner is displayed. (default 'official)
  183.    dotspacemacs-startup-banner 'official
  184.  
  185.    ;; Scale factor controls the scaling (size) of the startup banner. Default
  186.    ;; value is `auto' for scaling the logo automatically to fit all buffer
  187.    ;; contents, to a maximum of the full image height and a minimum of 3 line
  188.    ;; heights. If set to a number (int or float) it is used as a constant
  189.    ;; scaling factor for the default logo size.
  190.    dotspacemacs-startup-banner-scale 'auto
  191.  
  192.    ;; List of items to show in startup buffer or an association list of
  193.    ;; the form `(list-type . list-size)`. If nil then it is disabled.
  194.    ;; Possible values for list-type are:
  195.    ;; `recents' `recents-by-project' `bookmarks' `projects' `agenda' `todos'.
  196.    ;; List sizes may be nil, in which case
  197.    ;; `spacemacs-buffer-startup-lists-length' takes effect.
  198.    ;; The exceptional case is `recents-by-project', where list-type must be a
  199.    ;; pair of numbers, e.g. `(recents-by-project . (7 .  5))', where the first
  200.    ;; number is the project limit and the second the limit on the recent files
  201.    ;; within a project.
  202.    dotspacemacs-startup-lists '((recents . 5)
  203.                                 (projects . 7))
  204.  
  205.    ;; True if the home buffer should respond to resize events. (default t)
  206.    dotspacemacs-startup-buffer-responsive t
  207.  
  208.    ;; Show numbers before the startup list lines. (default t)
  209.    dotspacemacs-show-startup-list-numbers t
  210.  
  211.    ;; The minimum delay in seconds between number key presses. (default 0.4)
  212.    dotspacemacs-startup-buffer-multi-digit-delay 0.4
  213.  
  214.    ;; If non-nil, show file icons for entries and headings on Spacemacs home buffer.
  215.    ;; This has no effect in terminal or if "all-the-icons" package or the font
  216.    ;; is not installed. (default nil)
  217.    dotspacemacs-startup-buffer-show-icons nil
  218.  
  219.    ;; Default major mode for a new empty buffer. Possible values are mode
  220.    ;; names such as `text-mode'; and `nil' to use Fundamental mode.
  221.    ;; (default `text-mode')
  222.    dotspacemacs-new-empty-buffer-major-mode 'text-mode
  223.  
  224.    ;; Default major mode of the scratch buffer (default `text-mode')
  225.    dotspacemacs-scratch-mode 'text-mode
  226.  
  227.    ;; If non-nil, *scratch* buffer will be persistent. Things you write down in
  228.    ;; *scratch* buffer will be saved and restored automatically.
  229.    dotspacemacs-scratch-buffer-persistent nil
  230.  
  231.    ;; If non-nil, `kill-buffer' on *scratch* buffer
  232.    ;; will bury it instead of killing.
  233.    dotspacemacs-scratch-buffer-unkillable nil
  234.  
  235.    ;; Initial message in the scratch buffer, such as "Welcome to Spacemacs!"
  236.    ;; (default nil)
  237.    dotspacemacs-initial-scratch-message nil
  238.  
  239.    ;; List of themes, the first of the list is loaded when spacemacs starts.
  240.    ;; Press `SPC T n' to cycle to the next theme in the list (works great
  241.    ;; with 2 themes variants, one dark and one light)
  242.    dotspacemacs-themes '(spacemacs-dark
  243.                          spacemacs-light)
  244.  
  245.    ;; Set the theme for the Spaceline. Supported themes are `spacemacs',
  246.    ;; `all-the-icons', `custom', `doom', `vim-powerline' and `vanilla'. The
  247.    ;; first three are spaceline themes. `doom' is the doom-emacs mode-line.
  248.    ;; `vanilla' is default Emacs mode-line. `custom' is a user defined themes,
  249.    ;; refer to the DOCUMENTATION.org for more info on how to create your own
  250.    ;; spaceline theme. Value can be a symbol or list with additional properties.
  251.    ;; (default '(spacemacs :separator wave :separator-scale 1.5))
  252.    dotspacemacs-mode-line-theme '(spacemacs :separator wave :separator-scale 1.5)
  253.  
  254.    ;; If non-nil the cursor color matches the state color in GUI Emacs.
  255.    ;; (default t)
  256.    dotspacemacs-colorize-cursor-according-to-state t
  257.  
  258.    ;; Default font or prioritized list of fonts. The `:size' can be specified as
  259.    ;; a non-negative integer (pixel size), or a floating-point (point size).
  260.    ;; Point size is recommended, because it's device independent. (default 10.0)
  261.    dotspacemacs-default-font '(
  262.                                ("Ubuntu Mono"
  263.                                 :size 16.0
  264.                                 :weight normal
  265.                                 :width normal
  266.                                 ))
  267.  
  268.    ;; The leader key (default "SPC")
  269.    dotspacemacs-leader-key "SPC"
  270.  
  271.    ;; The key used for Emacs commands `M-x' (after pressing on the leader key).
  272.    ;; (default "SPC")
  273.    dotspacemacs-emacs-command-key "SPC"
  274.  
  275.    ;; The key used for Vim Ex commands (default ":")
  276.    dotspacemacs-ex-command-key ":"
  277.  
  278.    ;; The leader key accessible in `emacs state' and `insert state'
  279.    ;; (default "M-m")
  280.    dotspacemacs-emacs-leader-key "M-m"
  281.  
  282.    ;; Major mode leader key is a shortcut key which is the equivalent of
  283.    ;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
  284.    dotspacemacs-major-mode-leader-key ","
  285.  
  286.    ;; Major mode leader key accessible in `emacs state' and `insert state'.
  287.    ;; (default "C-M-m" for terminal mode, "<M-return>" for GUI mode).
  288.    ;; Thus M-RET should work as leader key in both GUI and terminal modes.
  289.    ;; C-M-m also should work in terminal mode, but not in GUI mode.
  290.    dotspacemacs-major-mode-emacs-leader-key (if window-system "<M-return>" "C-M-m")
  291.  
  292.    ;; These variables control whether separate commands are bound in the GUI to
  293.    ;; the key pairs `C-i', `TAB' and `C-m', `RET'.
  294.    ;; Setting it to a non-nil value, allows for separate commands under `C-i'
  295.    ;; and TAB or `C-m' and `RET'.
  296.    ;; In the terminal, these pairs are generally indistinguishable, so this only
  297.    ;; works in the GUI. (default nil)
  298.    dotspacemacs-distinguish-gui-tab nil
  299.  
  300.    ;; Name of the default layout (default "Default")
  301.    dotspacemacs-default-layout-name "Default"
  302.  
  303.    ;; If non-nil the default layout name is displayed in the mode-line.
  304.    ;; (default nil)
  305.    dotspacemacs-display-default-layout nil
  306.  
  307.    ;; If non-nil then the last auto saved layouts are resumed automatically upon
  308.    ;; start. (default nil)
  309.    dotspacemacs-auto-resume-layouts nil
  310.  
  311.    ;; If non-nil, auto-generate layout name when creating new layouts. Only has
  312.    ;; effect when using the "jump to layout by number" commands. (default nil)
  313.    dotspacemacs-auto-generate-layout-names nil
  314.  
  315.    ;; Size (in MB) above which spacemacs will prompt to open the large file
  316.    ;; literally to avoid performance issues. Opening a file literally means that
  317.    ;; no major mode or minor modes are active. (default is 1)
  318.    dotspacemacs-large-file-size 1
  319.  
  320.    ;; Location where to auto-save files. Possible values are `original' to
  321.    ;; auto-save the file in-place, `cache' to auto-save the file to another
  322.    ;; file stored in the cache directory and `nil' to disable auto-saving.
  323.    ;; (default 'cache)
  324.    dotspacemacs-auto-save-file-location 'cache
  325.  
  326.    ;; Maximum number of rollback slots to keep in the cache. (default 5)
  327.    dotspacemacs-max-rollback-slots 5
  328.  
  329.    ;; If non-nil, the paste transient-state is enabled. While enabled, after you
  330.    ;; paste something, pressing `C-j' and `C-k' several times cycles through the
  331.    ;; elements in the `kill-ring'. (default nil)
  332.    dotspacemacs-enable-paste-transient-state nil
  333.  
  334.    ;; Which-key delay in seconds. The which-key buffer is the popup listing
  335.    ;; the commands bound to the current keystroke sequence. (default 0.4)
  336.    dotspacemacs-which-key-delay 0.4
  337.  
  338.    ;; Which-key frame position. Possible values are `right', `bottom' and
  339.    ;; `right-then-bottom'. right-then-bottom tries to display the frame to the
  340.    ;; right; if there is insufficient space it displays it at the bottom.
  341.    ;; (default 'bottom)
  342.    dotspacemacs-which-key-position 'bottom
  343.  
  344.    ;; Control where `switch-to-buffer' displays the buffer. If nil,
  345.    ;; `switch-to-buffer' displays the buffer in the current window even if
  346.    ;; another same-purpose window is available. If non-nil, `switch-to-buffer'
  347.    ;; displays the buffer in a same-purpose window even if the buffer can be
  348.    ;; displayed in the current window. (default nil)
  349.    dotspacemacs-switch-to-buffer-prefers-purpose nil
  350.  
  351.    ;; If non-nil a progress bar is displayed when spacemacs is loading. This
  352.    ;; may increase the boot time on some systems and emacs builds, set it to
  353.    ;; nil to boost the loading time. (default t)
  354.    dotspacemacs-loading-progress-bar t
  355.  
  356.    ;; If non-nil the frame is fullscreen when Emacs starts up. (default nil)
  357.    ;; (Emacs 24.4+ only)
  358.    dotspacemacs-fullscreen-at-startup nil
  359.  
  360.    ;; If non-nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
  361.    ;; Use to disable fullscreen animations in OSX. (default nil)
  362.    dotspacemacs-fullscreen-use-non-native nil
  363.  
  364.    ;; If non-nil the frame is maximized when Emacs starts up.
  365.    ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
  366.    ;; (default nil) (Emacs 24.4+ only)
  367.    dotspacemacs-maximized-at-startup nil
  368.  
  369.    ;; If non-nil the frame is undecorated when Emacs starts up. Combine this
  370.    ;; variable with `dotspacemacs-maximized-at-startup' in OSX to obtain
  371.    ;; borderless fullscreen. (default nil)
  372.    dotspacemacs-undecorated-at-startup nil
  373.  
  374.    ;; A value from the range (0..100), in increasing opacity, which describes
  375.    ;; the transparency level of a frame when it's active or selected.
  376.    ;; Transparency can be toggled through `toggle-transparency'. (default 90)
  377.    dotspacemacs-active-transparency 90
  378.  
  379.    ;; A value from the range (0..100), in increasing opacity, which describes
  380.    ;; the transparency level of a frame when it's inactive or deselected.
  381.    ;; Transparency can be toggled through `toggle-transparency'. (default 90)
  382.    dotspacemacs-inactive-transparency 90
  383.  
  384.    ;; If non-nil show the titles of transient states. (default t)
  385.    dotspacemacs-show-transient-state-title t
  386.  
  387.    ;; If non-nil show the color guide hint for transient state keys. (default t)
  388.    dotspacemacs-show-transient-state-color-guide t
  389.  
  390.    ;; If non-nil unicode symbols are displayed in the mode line.
  391.    ;; If you use Emacs as a daemon and wants unicode characters only in GUI set
  392.    ;; the value to quoted `display-graphic-p'. (default t)
  393.    dotspacemacs-mode-line-unicode-symbols t
  394.  
  395.    ;; If non-nil smooth scrolling (native-scrolling) is enabled. Smooth
  396.    ;; scrolling overrides the default behavior of Emacs which recenters point
  397.    ;; when it reaches the top or bottom of the screen. (default t)
  398.    dotspacemacs-smooth-scrolling t
  399.  
  400.    ;; Show the scroll bar while scrolling. The auto hide time can be configured
  401.    ;; by setting this variable to a number. (default t)
  402.    dotspacemacs-scroll-bar-while-scrolling t
  403.  
  404.    ;; Control line numbers activation.
  405.    ;; If set to `t', `relative' or `visual' then line numbers are enabled in all
  406.    ;; `prog-mode' and `text-mode' derivatives. If set to `relative', line
  407.    ;; numbers are relative. If set to `visual', line numbers are also relative,
  408.    ;; but only visual lines are counted. For example, folded lines will not be
  409.    ;; counted and wrapped lines are counted as multiple lines.
  410.    ;; This variable can also be set to a property list for finer control:
  411.    ;; '(:relative nil
  412.    ;;   :visual nil
  413.    ;;   :disabled-for-modes dired-mode
  414.    ;;                       doc-view-mode
  415.    ;;                       markdown-mode
  416.    ;;                       org-mode
  417.    ;;                       pdf-view-mode
  418.    ;;                       text-mode
  419.    ;;   :size-limit-kb 1000)
  420.    ;; When used in a plist, `visual' takes precedence over `relative'.
  421.    ;; (default nil)
  422.    dotspacemacs-line-numbers t
  423.  
  424.    ;; Code folding method. Possible values are `evil', `origami' and `vimish'.
  425.    ;; (default 'evil)
  426.    dotspacemacs-folding-method 'evil
  427.  
  428.    ;; If non-nil and `dotspacemacs-activate-smartparens-mode' is also non-nil,
  429.    ;; `smartparens-strict-mode' will be enabled in programming modes.
  430.    ;; (default nil)
  431.    dotspacemacs-smartparens-strict-mode nil
  432.  
  433.    ;; If non-nil smartparens-mode will be enabled in programming modes.
  434.    ;; (default t)
  435.    dotspacemacs-activate-smartparens-mode t
  436.  
  437.    ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
  438.    ;; over any automatically added closing parenthesis, bracket, quote, etc...
  439.    ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
  440.    dotspacemacs-smart-closing-parenthesis nil
  441.  
  442.    ;; Select a scope to highlight delimiters. Possible values are `any',
  443.    ;; `current', `all' or `nil'. Default is `all' (highlight any scope and
  444.    ;; emphasis the current one). (default 'all)
  445.    dotspacemacs-highlight-delimiters 'all
  446.  
  447.    ;; If non-nil, start an Emacs server if one is not already running.
  448.    ;; (default nil)
  449.    dotspacemacs-enable-server nil
  450.  
  451.    ;; Set the emacs server socket location.
  452.    ;; If nil, uses whatever the Emacs default is, otherwise a directory path
  453.    ;; like \"~/.emacs.d/server\". It has no effect if
  454.    ;; `dotspacemacs-enable-server' is nil.
  455.    ;; (default nil)
  456.    dotspacemacs-server-socket-dir nil
  457.  
  458.    ;; If non-nil, advise quit functions to keep server open when quitting.
  459.    ;; (default nil)
  460.    dotspacemacs-persistent-server nil
  461.  
  462.    ;; List of search tool executable names. Spacemacs uses the first installed
  463.    ;; tool of the list. Supported tools are `rg', `ag', `pt', `ack' and `grep'.
  464.    ;; (default '("rg" "ag" "pt" "ack" "grep"))
  465.    dotspacemacs-search-tools '("rg" "ag" "pt" "ack" "grep")
  466.  
  467.    ;; Format specification for setting the frame title.
  468.    ;; %a - the `abbreviated-file-name', or `buffer-name'
  469.    ;; %t - `projectile-project-name'
  470.    ;; %I - `invocation-name'
  471.    ;; %S - `system-name'
  472.    ;; %U - contents of $USER
  473.    ;; %b - buffer name
  474.    ;; %f - visited file name
  475.    ;; %F - frame name
  476.    ;; %s - process status
  477.    ;; %p - percent of buffer above top of window, or Top, Bot or All
  478.    ;; %P - percent of buffer above bottom of window, perhaps plus Top, or Bot or All
  479.    ;; %m - mode name
  480.    ;; %n - Narrow if appropriate
  481.    ;; %z - mnemonics of buffer, terminal, and keyboard coding systems
  482.    ;; %Z - like %z, but including the end-of-line format
  483.    ;; If nil then Spacemacs uses default `frame-title-format' to avoid
  484.    ;; performance issues, instead of calculating the frame title by
  485.    ;; `spacemacs/title-prepare' all the time.
  486.    ;; (default "%I@%S")
  487.    dotspacemacs-frame-title-format "%I@%S"
  488.  
  489.    ;; Format specification for setting the icon title format
  490.    ;; (default nil - same as frame-title-format)
  491.    dotspacemacs-icon-title-format nil
  492.  
  493.    ;; Show trailing whitespace (default t)
  494.    dotspacemacs-show-trailing-whitespace t
  495.  
  496.    ;; Delete whitespace while saving buffer. Possible values are `all'
  497.    ;; to aggressively delete empty line and long sequences of whitespace,
  498.    ;; `trailing' to delete only the whitespace at end of lines, `changed' to
  499.    ;; delete only whitespace for changed lines or `nil' to disable cleanup.
  500.    ;; (default nil)
  501.    dotspacemacs-whitespace-cleanup nil
  502.  
  503.    ;; If non-nil activate `clean-aindent-mode' which tries to correct
  504.    ;; virtual indentation of simple modes. This can interfere with mode specific
  505.    ;; indent handling like has been reported for `go-mode'.
  506.    ;; If it does deactivate it here.
  507.    ;; (default t)
  508.    dotspacemacs-use-clean-aindent-mode t
  509.  
  510.    ;; Accept SPC as y for prompts if non-nil. (default nil)
  511.    dotspacemacs-use-SPC-as-y nil
  512.  
  513.    ;; If non-nil shift your number row to match the entered keyboard layout
  514.    ;; (only in insert state). Currently supported keyboard layouts are:
  515.    ;; `qwerty-us', `qwertz-de' and `querty-ca-fr'.
  516.    ;; New layouts can be added in `spacemacs-editing' layer.
  517.    ;; (default nil)
  518.    dotspacemacs-swap-number-row nil
  519.  
  520.    ;; Either nil or a number of seconds. If non-nil zone out after the specified
  521.    ;; number of seconds. (default nil)
  522.    dotspacemacs-zone-out-when-idle nil
  523.  
  524.    ;; Run `spacemacs/prettify-org-buffer' when
  525.    ;; visiting README.org files of Spacemacs.
  526.    ;; (default nil)
  527.    dotspacemacs-pretty-docs nil
  528.  
  529.    ;; If nil the home buffer shows the full path of agenda items
  530.    ;; and todos. If non-nil only the file name is shown.
  531.    dotspacemacs-home-shorten-agenda-source nil
  532.  
  533.    ;; If non-nil then byte-compile some of Spacemacs files.
  534.    dotspacemacs-byte-compile nil))
  535.  
  536. (defun dotspacemacs/user-env ()
  537.   "Environment variables setup.
  538. This function defines the environment variables for your Emacs session. By
  539. default it calls `spacemacs/load-spacemacs-env' which loads the environment
  540. variables declared in `~/.spacemacs.env' or `~/.spacemacs.d/.spacemacs.env'.
  541. See the header of this file for more information."
  542.   (spacemacs/load-spacemacs-env)
  543. )
  544.  
  545. (defun dotspacemacs/user-init ()
  546.   "Initialization for user code:
  547. This function is called immediately after `dotspacemacs/init', before layer
  548. configuration.
  549. It is mostly for variables that should be set before packages are loaded.
  550. If you are unsure, try setting them in `dotspacemacs/user-config' first."
  551. )
  552.  
  553.  
  554. (defun dotspacemacs/user-load ()
  555.   "Library to load while dumping.
  556. This function is called only while dumping Spacemacs configuration. You can
  557. `require' or `load' the libraries of your choice that will be included in the
  558. dump."
  559. )
  560.  
  561.  
  562. (defun dotspacemacs/user-config ()
  563.   "Configuration for user code:
  564. This function is called at the very end of Spacemacs startup, after layer
  565. configuration.
  566. Put your configuration code here, except for variables that should be set
  567. before packages are loaded."
  568. )
  569.  
  570.  
  571. ;; Do not write anything past this comment. This is where Emacs will
  572. ;; auto-generate custom variable definitions.
  573. (defun dotspacemacs/emacs-custom-settings ()
  574.   "Emacs custom settings.
  575. This is an auto-generated function, do not modify its content directly, use
  576. Emacs customize menu instead.
  577. This function is called at the very end of Spacemacs initialization."
  578. (custom-set-variables
  579.  ;; custom-set-variables was added by Custom.
  580.  ;; If you edit it by hand, you could mess it up, so be careful.
  581.  ;; Your init file should contain only one such instance.
  582.  ;; If there is more than one, they won't work right.
  583.  '(package-selected-packages
  584.    '(helm-cider cider-eval-sexp-fu cider sesman parseedn clojure-mode parseclj ws-butler writeroom-mode winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package undo-tree treemacs-projectile treemacs-persp treemacs-icons-dired treemacs-evil toc-org symon symbol-overlay string-inflection string-edit spaceline-all-the-icons restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio font-lock+ flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-terminal-cursor-changer evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-easymotion evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-def editorconfig dumb-jump drag-stuff dotenv-mode dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile aggressive-indent ace-link ace-jump-helm-line)))
  585. (custom-set-faces
  586.  ;; custom-set-faces was added by Custom.
  587.  ;; If you edit it by hand, you could mess it up, so be careful.
  588.  ;; Your init file should contain only one such instance.
  589.  ;; If there is more than one, they won't work right.
  590.  '(highlight-parentheses-highlight ((nil (:weight ultra-bold))) t))
  591. )
  592.  
Add Comment
Please, Sign In to add comment