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.
|
||||
dotspacemacs-configuration-layers
|
||||
'(csv
|
||||
'(
|
||||
;; ----------------------------------------------------------------
|
||||
;; Example of useful layers you may want to use right away.
|
||||
;; Uncomment some layer names and press `SPC f e R' (Vim style) or
|
||||
;; `M-m f e R' (Emacs style) to install them.
|
||||
;; ----------------------------------------------------------------
|
||||
;; auto-completion
|
||||
;; better-defaults
|
||||
helm
|
||||
lsp
|
||||
multiple-cursors
|
||||
org
|
||||
(shell :variables
|
||||
shell-default-height 30
|
||||
shell-default-position 'bottom)
|
||||
;; spell-checking
|
||||
|
||||
;; Install the packages from 'Required:' before using spacemacs.
|
||||
|
||||
;; 3 Checker
|
||||
(spell-checking :variables ;; Required: aspell
|
||||
spell-checking-enable-by-default t
|
||||
spell-checking-enable-auto-dictionary t)
|
||||
syntax-checking
|
||||
;; 4 Completion
|
||||
auto-completion
|
||||
helm
|
||||
|
||||
;; 6 Emacs
|
||||
org
|
||||
semantic
|
||||
tabs
|
||||
|
||||
;; 7 File trees
|
||||
treemacs
|
||||
neotree
|
||||
tabs
|
||||
pdf
|
||||
|
||||
;; Systems and interfaces
|
||||
docker
|
||||
git
|
||||
version-control
|
||||
;; 8 Fonts
|
||||
unicode-fonts
|
||||
;; 9 Fun
|
||||
emoji
|
||||
;; 11 Miscellaneous
|
||||
multiple-cursors
|
||||
|
||||
;; Language support
|
||||
emacs-lisp
|
||||
bibtex
|
||||
(latex :variables
|
||||
;latex-build-command 'latexmk
|
||||
latex-enable-folding t
|
||||
latex-enable-magic t
|
||||
)
|
||||
;; 12 Music
|
||||
alda ;; Required: alda
|
||||
|
||||
;; 15 Programming Languages
|
||||
|
||||
;; Markdown
|
||||
markdown
|
||||
yaml
|
||||
html
|
||||
csv
|
||||
bibtex
|
||||
(latex :variables
|
||||
;latex-build-command 'latexmk
|
||||
latex-enable-folding t
|
||||
latex-enable-magic t
|
||||
)
|
||||
|
||||
;; Scripting Languages
|
||||
shell-scripts
|
||||
sql
|
||||
emacs-lisp
|
||||
gpu ;; CUDA, OpenGL shaders
|
||||
javascript
|
||||
typescript
|
||||
|
||||
;; Others
|
||||
coq
|
||||
(python :variables
|
||||
python-backend 'lsp
|
||||
python-lsp-server 'pyright
|
||||
python-shell-interpreter "python-runtime.sh"
|
||||
python-shell-interpreter-args "-m IPython --simple-prompt -i")
|
||||
;(ocaml :variables
|
||||
; ocaml-format-on-save t)
|
||||
(c-c++ :variables ;; Required: LLVM
|
||||
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
|
||||
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)
|
||||
;; 16 Readers
|
||||
pdf
|
||||
|
||||
;; 18 Source Control
|
||||
git
|
||||
version-control
|
||||
|
||||
;; 20 Tagging
|
||||
cscope
|
||||
|
||||
;; 22 Tools
|
||||
(cmake :variables
|
||||
cmake-backend 'lsp)
|
||||
javascript
|
||||
typescript
|
||||
|
||||
alda ;; Music language
|
||||
coq
|
||||
|
||||
;; Others
|
||||
finance ;; Ledger accounting
|
||||
cmake-backend 'lsp)
|
||||
debug
|
||||
docker
|
||||
finance ;; Required: ledger
|
||||
lsp
|
||||
nginx
|
||||
(shell :variables
|
||||
shell-default-height 30
|
||||
shell-default-position 'bottom)
|
||||
systemd
|
||||
sql
|
||||
gpu ;; CUDA, OpenGL shaders
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue