From 6208ac2c1ea1b9b7cb70672b3f62b2281a3b2b69 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Thu, 23 Jun 2022 11:50:07 -0700 Subject: [PATCH] update --- README.md | 2 ++ config/doomemacs/config.el | 16 ++++++++++------ config/doomemacs/custom.el | 3 ++- config/doomemacs/init.el | 2 +- scripts/brew_get.sh | 2 +- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 620ad9d..e6fd59f 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,5 @@ - [Hammerspoon](https://www.hammerspoon.org/) - [MiddleClick](https://github.com/artginzburg/MiddleClick-BigSur) - [Scroll Reverser](https://github.com/pilotmoon/Scroll-Reverser) +- [AltTab MacOS](https://github.com/lwouis/alt-tab-macos) + diff --git a/config/doomemacs/config.el b/config/doomemacs/config.el index 1a9dc23..cf139fb 100644 --- a/config/doomemacs/config.el +++ b/config/doomemacs/config.el @@ -32,7 +32,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-gruvbox) +(setq doom-theme 'doom-monokai-spectrum) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -76,14 +76,18 @@ ;; they are implemented. ;; treemacs extension -(setq treemacs-text-scale 1) -(treemacs-git-mode 'deferred) -(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action) ;; single click to open tree nodes +(setq treemacs-text-scale 0.7) +(setq treemacs-git-mode 'deferred) +(with-eval-after-load 'treemacs + (treemacs-display-current-project-exclusively) + (setq treemacs-project-follow-mode :true) + (define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action)) ;; single click to open tree nodes ;; code minimap -(minimap-move-overlay-mouse [mouse-1]) +;; (setq minimap-move-overlay-mouse [mouse-1]) ;; Rust config ;; https://github.com/doomemacs/doomemacs/blob/develop/modules/lang/rust/README.org#enable-rls-by-default -(setq rustic-lsp-server 'rust-analyzer) +;; (setq rustic-lsp-server 'rust-analyzer) +(setq rustic-lsp-server 'rls) (setq rustic-lsp-client 'eglot) diff --git a/config/doomemacs/custom.el b/config/doomemacs/custom.el index 76f9371..599134a 100644 --- a/config/doomemacs/custom.el +++ b/config/doomemacs/custom.el @@ -4,7 +4,8 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" "c4063322b5011829f7fdd7509979b5823e8eea2abf1fe5572ec4b7af1dd78519" "a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8" "f7fed1aadf1967523c120c4c82ea48442a51ac65074ba544a5aefc5af490893b" "1d44ec8ec6ec6e6be32f2f73edf398620bb721afeed50f75df6b12ccff0fbb15" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default))) + '("c4063322b5011829f7fdd7509979b5823e8eea2abf1fe5572ec4b7af1dd78519" "6f4421bf31387397f6710b6f6381c448d1a71944d9e9da4e0057b3fe5d6f2fad" "1278c5f263cdb064b5c86ab7aa0a76552082cf0189acf6df17269219ba496053" "e19ac4ef0f028f503b1ccafa7c337021834ce0d1a2bca03fcebc1ef635776bea" "4a5aa2ccb3fa837f322276c060ea8a3d10181fecbd1b74cb97df8e191b214313" "76ed126dd3c3b653601ec8447f28d8e71a59be07d010cd96c55794c3008df4d7" "e8df30cd7fb42e56a4efc585540a2e63b0c6eeb9f4dc053373e05d774332fc13" "4b6b6b0a44a40f3586f0f641c25340718c7c626cbf163a78b5a399fbe0226659" "23c806e34594a583ea5bbf5adf9a964afe4f28b4467d28777bcba0d35aa0872e" "7a7b1d475b42c1a0b61f3b1d1225dd249ffa1abb1b7f726aec59ac7ca3bf4dae" "8146edab0de2007a99a2361041015331af706e7907de9d6a330a3493a541e5a6" "4699e3a86b1863bbc695236036158d175a81f0f3ea504e2b7c71f8f7025e19e3" "1bddd01e6851f5c4336f7d16c56934513d41cc3d0233863760d1798e74809b4b" "a0be7a38e2de974d1598cf247f607d5c1841dbcef1ccd97cded8bea95a7c7639" "028c226411a386abc7f7a0fba1a2ebfae5fe69e2a816f54898df41a6a3412bb5" "6c98bc9f39e8f8fd6da5b9c74a624cbb3782b4be8abae8fd84cbc43053d7c175" "84b14a0a41bb2728568d40c545280dbe7d6891221e7fbe7c2b1c54a3f5959289" "1d44ec8ec6ec6e6be32f2f73edf398620bb721afeed50f75df6b12ccff0fbb15" "1d5e33500bc9548f800f9e248b57d1b2a9ecde79cb40c0b1398dec51ee820daf" "835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" default)) + '(package-selected-packages '(rustic eglot yasnippet))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/config/doomemacs/init.el b/config/doomemacs/init.el index 0e9359f..826ff48 100644 --- a/config/doomemacs/init.el +++ b/config/doomemacs/init.el @@ -147,7 +147,7 @@ latex ; writing papers in Emacs has never been so fun ;;lean ; for folks with too much to prove ;;ledger ; be audit you can be - ;;lua ; one-based indices? one-based indices + lua ; one-based indices? one-based indices markdown ; writing docs for people to ignore nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" diff --git a/scripts/brew_get.sh b/scripts/brew_get.sh index 2638b53..d85e774 100644 --- a/scripts/brew_get.sh +++ b/scripts/brew_get.sh @@ -2,4 +2,4 @@ brew install bat cmake gitkraken go htop lsd neofetch node npm openjdk@11 macvim yarn yt-dlp brew install --cask --no-quarantine middleclick -brew install --cask hammerspoon scroll-reverser rectangle +brew install --cask hammerspoon scroll-reverser rectangle alt-tab