update .spacemacs
This commit is contained in:
parent
d3921ff1d9
commit
d62ce0a041
35
.spacemacs
35
.spacemacs
|
@ -1,4 +1,4 @@
|
||||||
;; -*- mode: emacs-lisp -*-
|
;; -*- mode: emacs-lisp; lexical-binding: t -*-
|
||||||
;; This file is loaded by Spacemacs at startup.
|
;; This file is loaded by Spacemacs at startup.
|
||||||
;; It must be stored in your home directory.
|
;; 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.
|
;; List of configuration layers to load.
|
||||||
dotspacemacs-configuration-layers
|
dotspacemacs-configuration-layers
|
||||||
'(systemd
|
'(
|
||||||
;; ----------------------------------------------------------------
|
;; ----------------------------------------------------------------
|
||||||
;; Example of useful layers you may want to use right away.
|
;; Example of useful layers you may want to use right away.
|
||||||
;; Uncomment some layer names and press `SPC f e R' (Vim style) or
|
;; 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
|
latex
|
||||||
markdown
|
markdown
|
||||||
org
|
org
|
||||||
|
plantuml
|
||||||
python
|
python
|
||||||
|
ranger
|
||||||
rust
|
rust
|
||||||
shell
|
shell
|
||||||
shell-scripts
|
shell-scripts
|
||||||
spell-checking
|
spell-checking
|
||||||
syntax-checking
|
syntax-checking
|
||||||
version-control
|
version-control
|
||||||
yaml
|
yaml)
|
||||||
treemacs)
|
|
||||||
|
|
||||||
|
|
||||||
;; List of additional packages that will be installed without being wrapped
|
;; List of additional packages that will be installed without being wrapped
|
||||||
;; in a layer (generally the packages are installed only and should still be
|
;; 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
|
;; 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.
|
;; spaceline theme. Value can be a symbol or list with additional properties.
|
||||||
;; (default '(spacemacs :separator wave :separator-scale 1.5))
|
;; (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.
|
;; If non-nil the cursor color matches the state color in GUI Emacs.
|
||||||
;; (default t)
|
;; (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).
|
;; The key used for Emacs commands `M-x' (after pressing on the leader key).
|
||||||
;; (default "SPC")
|
;; (default "SPC")
|
||||||
dotspacemacs-emacs-command-key "SPC"
|
dotspacemacs-emacs-command-key "SPC"
|
||||||
|
|
||||||
;; The key used for Vim Ex commands (default ":")
|
;; The key used for Vim Ex commands (default ":")
|
||||||
dotspacemacs-ex-command-key ":"
|
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
|
;; 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
|
;; `prog-mode' and `text-mode' derivatives. If set to `relative', line
|
||||||
;; numbers are relative. If set to `visual', line numbers are also relative,
|
;; numbers are relative. If set to `visual', line numbers are also relative,
|
||||||
;; but lines are only visual lines are counted. For example, folded lines
|
;; but only visual lines are counted. For example, folded lines will not be
|
||||||
;; will not be counted and wrapped lines are counted as multiple lines.
|
;; counted and wrapped lines are counted as multiple lines.
|
||||||
;; This variable can also be set to a property list for finer control:
|
;; This variable can also be set to a property list for finer control:
|
||||||
;; '(:relative nil
|
;; '(:relative nil
|
||||||
;; :visual nil
|
;; :visual nil
|
||||||
|
@ -402,8 +403,9 @@ It should only modify the values of Spacemacs settings."
|
||||||
;; :size-limit-kb 1000)
|
;; :size-limit-kb 1000)
|
||||||
;; When used in a plist, `visual' takes precedence over `relative'.
|
;; When used in a plist, `visual' takes precedence over `relative'.
|
||||||
;; (default nil)
|
;; (default nil)
|
||||||
dotspacemacs-line-numbers t
|
dotspacemacs-line-numbers nil
|
||||||
;; Code folding method. Possible values are `evil' and `origami'.
|
|
||||||
|
;; Code folding method. Possible values are `evil', `origami' and `vimish'.
|
||||||
;; (default 'evil)
|
;; (default 'evil)
|
||||||
dotspacemacs-folding-method 'evil
|
dotspacemacs-folding-method 'evil
|
||||||
|
|
||||||
|
@ -482,14 +484,14 @@ It should only modify the values of Spacemacs settings."
|
||||||
;; (default nil)
|
;; (default nil)
|
||||||
dotspacemacs-whitespace-cleanup nil
|
dotspacemacs-whitespace-cleanup nil
|
||||||
|
|
||||||
;; If non nil activate `clean-aindent-mode' which tries to correct
|
;; If non-nil activate `clean-aindent-mode' which tries to correct
|
||||||
;; virtual indentation of simple modes. This can interfer with mode specific
|
;; virtual indentation of simple modes. This can interfere with mode specific
|
||||||
;; indent handling like has been reported for `go-mode'.
|
;; indent handling like has been reported for `go-mode'.
|
||||||
;; If it does deactivate it here.
|
;; If it does deactivate it here.
|
||||||
;; (default t)
|
;; (default t)
|
||||||
dotspacemacs-use-clean-aindent-mode 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
|
dotspacemacs-use-SPC-as-y nil
|
||||||
|
|
||||||
;; If non-nil shift your number row to match the entered keyboard layout
|
;; 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
|
dotspacemacs-pretty-docs nil
|
||||||
|
|
||||||
;; If nil the home buffer shows the full path of agenda items
|
;; 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
|
dotspacemacs-home-shorten-agenda-source nil
|
||||||
|
|
||||||
;; If non-nil then byte-compile some of Spacemacs files.
|
;; If non-nil then byte-compile some of Spacemacs files.
|
||||||
dotspacemacs-byte-compile nil))
|
dotspacemacs-byte-compile t))
|
||||||
|
|
||||||
(defun dotspacemacs/user-env ()
|
(defun dotspacemacs/user-env ()
|
||||||
"Environment variables setup.
|
"Environment variables setup.
|
||||||
|
@ -545,7 +547,6 @@ layers configuration.
|
||||||
This is the place where most of your configurations should be done. Unless it is
|
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,
|
explicitly specified that a variable should be set before a package is loaded,
|
||||||
you should place your code here."
|
you should place your code here."
|
||||||
(setq powerline-default-separator 'nil)
|
|
||||||
(setq dired-listing-switches "-alh")
|
(setq dired-listing-switches "-alh")
|
||||||
(setq-default dotspacemacs-configuration-layers
|
(setq-default dotspacemacs-configuration-layers
|
||||||
'((
|
'((
|
||||||
|
@ -572,7 +573,7 @@ you should place your code here."
|
||||||
("T" "todo list item with source" ; name
|
("T" "todo list item with source" ; name
|
||||||
entry ; type
|
entry ; type
|
||||||
(file+headline org-default-notes-file "Tasks")
|
(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
|
("m" "scheduled meeting" ; name
|
||||||
entry ; type
|
entry ; type
|
||||||
|
|
Loading…
Reference in New Issue