Kossak

.spacemacs

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