update .spacemacs

This commit is contained in:
Frieder Schlesier 2021-10-15 18:02:37 +02:00
parent d3921ff1d9
commit d62ce0a041
1 changed files with 18 additions and 17 deletions

View File

@ -1,4 +1,4 @@
;; -*- mode: emacs-lisp -*-
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
@ -32,7 +32,7 @@ This function should only modify configuration layer settings."
;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(systemd
'(
;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press `SPC f e R' (Vim style) or
@ -51,16 +51,16 @@ This function should only modify configuration layer settings."
latex
markdown
org
plantuml
python
ranger
rust
shell
shell-scripts
spell-checking
syntax-checking
version-control
yaml
treemacs)
yaml)
;; List of additional packages that will be installed without being wrapped
;; in a layer (generally the packages are installed only and should still be
@ -237,7 +237,7 @@ It should only modify the values of Spacemacs settings."
;; 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)
dotspacemacs-mode-line-theme '(spacemacs :separator nil :separator-scale 1.0)
;; If non-nil the cursor color matches the state color in GUI Emacs.
;; (default t)
@ -255,6 +255,7 @@ It should only modify the values of Spacemacs settings."
;; 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 ":"
@ -388,8 +389,8 @@ It should only modify the values of Spacemacs settings."
;; 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.
;; but 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
@ -402,8 +403,9 @@ It should only modify the values of Spacemacs settings."
;; :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'.
dotspacemacs-line-numbers nil
;; Code folding method. Possible values are `evil', `origami' and `vimish'.
;; (default 'evil)
dotspacemacs-folding-method 'evil
@ -482,14 +484,14 @@ It should only modify the values of Spacemacs settings."
;; (default nil)
dotspacemacs-whitespace-cleanup nil
;; If non nil activate `clean-aindent-mode' which tries to correct
;; virtual indentation of simple modes. This can interfer with mode specific
;; If non-nil activate `clean-aindent-mode' which tries to correct
;; virtual indentation of simple modes. This can interfere with mode specific
;; indent handling like has been reported for `go-mode'.
;; If it does deactivate it here.
;; (default t)
dotspacemacs-use-clean-aindent-mode t
;; Accept SPC as y for prompts if non nil. (default nil)
;; Accept SPC as y for prompts if non-nil. (default nil)
dotspacemacs-use-SPC-as-y nil
;; If non-nil shift your number row to match the entered keyboard layout
@ -509,11 +511,11 @@ It should only modify the values of Spacemacs settings."
dotspacemacs-pretty-docs nil
;; If nil the home buffer shows the full path of agenda items
;; and todos. If non nil only the file name is shown.
;; and todos. If non-nil only the file name is shown.
dotspacemacs-home-shorten-agenda-source nil
;; If non-nil then byte-compile some of Spacemacs files.
dotspacemacs-byte-compile nil))
dotspacemacs-byte-compile t))
(defun dotspacemacs/user-env ()
"Environment variables setup.
@ -545,7 +547,6 @@ layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(setq powerline-default-separator 'nil)
(setq dired-listing-switches "-alh")
(setq-default dotspacemacs-configuration-layers
'((
@ -572,7 +573,7 @@ you should place your code here."
("T" "todo list item with source" ; name
entry ; type
(file+headline org-default-notes-file "Tasks")
"* TODO %?\n %a \n DEALINE: %^T \n %i") ; template
"* TODO %?\n %a \n DEADLINE: %^T \n %i") ; template
("m" "scheduled meeting" ; name
entry ; type