diff --git a/home/astylerc b/home/astylerc new file mode 100755 index 0000000..f867862 --- /dev/null +++ b/home/astylerc @@ -0,0 +1,9 @@ +--style=allman +--align-pointer=type +--close-templates +--convert-tabs +--indent-preproc-block +--indent-preproc-define +--indent=tab=2 +--pad-header +--unpad-paren diff --git a/home/spacemacs b/home/spacemacs index 880b64a..8b77479 100644 --- a/home/spacemacs +++ b/home/spacemacs @@ -89,6 +89,13 @@ This function should only modify configuration layer settings." javascript typescript html + + alda ;; Music language + finance ;; Ledger accounting + nginx + systemd + sql + gpu ;; CUDA, OpenGL shaders ) @@ -579,8 +586,10 @@ Put your configuration code here, except for variables that should be set before packages are loaded." ;; Key Bindings - (global-set-key (kbd "") 'centaur-tabs-forward) (global-set-key (kbd "") 'centaur-tabs-backward) + (global-set-key (kbd "") 'centaur-tabs-forward) + (global-set-key (kbd "C-") 'centaur-tabs-move-current-tab-to-right) + (global-set-key (kbd "C-") 'centaur-tabs-move-current-tab-to-left) (evil-ex-define-cmd "q" 'kill-this-buffer) (evil-ex-define-cmd "quit" 'evil-quit) @@ -635,7 +644,14 @@ before packages are loaded." (setq-default tab-width 2) (setq c-default-style "stroustrup" - c-basic-offset 2) + c-basic-offset 2 + lsp-clients-clangd-args + '("-j=4" + "--clang-tidy" + "--header-insertion=never" + "--pch-storage=memory" + )) + (setq css-indent-offset 2) (smart-tabs-insinuate 'c