Reorganise spacemacs
This commit is contained in:
parent
e5598e416f
commit
06a51d7321
119
home/spacemacs
119
home/spacemacs
|
@ -33,77 +33,104 @@ 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
|
||||||
'(csv
|
'(
|
||||||
;; ----------------------------------------------------------------
|
;; ----------------------------------------------------------------
|
||||||
;; 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
|
||||||
;; `M-m f e R' (Emacs style) to install them.
|
;; `M-m f e R' (Emacs style) to install them.
|
||||||
;; ----------------------------------------------------------------
|
;; ----------------------------------------------------------------
|
||||||
;; auto-completion
|
|
||||||
;; better-defaults
|
;; Install the packages from 'Required:' before using spacemacs.
|
||||||
helm
|
|
||||||
lsp
|
;; 3 Checker
|
||||||
multiple-cursors
|
(spell-checking :variables ;; Required: aspell
|
||||||
org
|
spell-checking-enable-by-default t
|
||||||
(shell :variables
|
spell-checking-enable-auto-dictionary t)
|
||||||
shell-default-height 30
|
|
||||||
shell-default-position 'bottom)
|
|
||||||
;; spell-checking
|
|
||||||
syntax-checking
|
syntax-checking
|
||||||
|
;; 4 Completion
|
||||||
|
auto-completion
|
||||||
|
helm
|
||||||
|
|
||||||
|
;; 6 Emacs
|
||||||
|
org
|
||||||
|
semantic
|
||||||
|
tabs
|
||||||
|
|
||||||
|
;; 7 File trees
|
||||||
treemacs
|
treemacs
|
||||||
neotree
|
neotree
|
||||||
tabs
|
|
||||||
pdf
|
|
||||||
|
|
||||||
;; Systems and interfaces
|
;; 8 Fonts
|
||||||
docker
|
|
||||||
git
|
|
||||||
version-control
|
|
||||||
unicode-fonts
|
unicode-fonts
|
||||||
|
;; 9 Fun
|
||||||
|
emoji
|
||||||
|
;; 11 Miscellaneous
|
||||||
|
multiple-cursors
|
||||||
|
|
||||||
;; Language support
|
;; 12 Music
|
||||||
emacs-lisp
|
alda ;; Required: alda
|
||||||
bibtex
|
|
||||||
(latex :variables
|
;; 15 Programming Languages
|
||||||
;latex-build-command 'latexmk
|
|
||||||
latex-enable-folding t
|
;; Markdown
|
||||||
latex-enable-magic t
|
|
||||||
)
|
|
||||||
markdown
|
markdown
|
||||||
yaml
|
yaml
|
||||||
html
|
html
|
||||||
csv
|
csv
|
||||||
|
bibtex
|
||||||
|
(latex :variables
|
||||||
|
;latex-build-command 'latexmk
|
||||||
|
latex-enable-folding t
|
||||||
|
latex-enable-magic t
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Scripting Languages
|
||||||
shell-scripts
|
shell-scripts
|
||||||
|
sql
|
||||||
|
emacs-lisp
|
||||||
|
gpu ;; CUDA, OpenGL shaders
|
||||||
|
javascript
|
||||||
|
typescript
|
||||||
|
|
||||||
|
;; Others
|
||||||
|
coq
|
||||||
(python :variables
|
(python :variables
|
||||||
python-backend 'lsp
|
python-backend 'lsp
|
||||||
python-lsp-server 'pyright
|
python-lsp-server 'pyright
|
||||||
python-shell-interpreter "python-runtime.sh"
|
python-shell-interpreter "python-runtime.sh"
|
||||||
python-shell-interpreter-args "-m IPython --simple-prompt -i")
|
python-shell-interpreter-args "-m IPython --simple-prompt -i")
|
||||||
;(ocaml :variables
|
(c-c++ :variables ;; Required: LLVM
|
||||||
; ocaml-format-on-save t)
|
c-c++-adopt-subprojects t
|
||||||
|
c-c++-default-mode-for-headers 'c++-mode
|
||||||
|
c-c++-enable-clang-support t
|
||||||
|
c-c++-backend 'lsp-clangd
|
||||||
|
c-c++-enable-clang-format-on-save t
|
||||||
|
clang-format-style "file"
|
||||||
|
c-c++-lsp-enable-semantic-highlight 'rainbow)
|
||||||
|
|
||||||
(c-c++ :variables
|
;; 16 Readers
|
||||||
c-c++-adopt-subprojects t
|
pdf
|
||||||
c-c++-default-mode-for-headers 'c++-mode
|
|
||||||
c-c++-enable-clang-support t
|
;; 18 Source Control
|
||||||
c-c++-backend 'lsp-clangd
|
git
|
||||||
c-c++-enable-clang-format-on-save t
|
version-control
|
||||||
clang-format-style "file"
|
|
||||||
c-c++-lsp-enable-semantic-highlight 'rainbow)
|
;; 20 Tagging
|
||||||
|
cscope
|
||||||
|
|
||||||
|
;; 22 Tools
|
||||||
(cmake :variables
|
(cmake :variables
|
||||||
cmake-backend 'lsp)
|
cmake-backend 'lsp)
|
||||||
javascript
|
debug
|
||||||
typescript
|
docker
|
||||||
|
finance ;; Required: ledger
|
||||||
alda ;; Music language
|
lsp
|
||||||
coq
|
|
||||||
|
|
||||||
;; Others
|
|
||||||
finance ;; Ledger accounting
|
|
||||||
nginx
|
nginx
|
||||||
|
(shell :variables
|
||||||
|
shell-default-height 30
|
||||||
|
shell-default-position 'bottom)
|
||||||
systemd
|
systemd
|
||||||
sql
|
|
||||||
gpu ;; CUDA, OpenGL shaders
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue