From 324e7a40932cbc193c5f0e68e3e65cff3f57cbba Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 1 Mar 2024 11:54:18 -0700 Subject: [PATCH] add wasmer and copilot C-c c binding --- .config/alacritty/base.toml | 2 +- .emacs.d/settings.org | 11 +++++++++++ .zshrc | 4 ++++ scripts/machine-specific-zsh/armin.zsh | 4 +++- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.config/alacritty/base.toml b/.config/alacritty/base.toml index b5bb19a..715fc53 100644 --- a/.config/alacritty/base.toml +++ b/.config/alacritty/base.toml @@ -24,7 +24,7 @@ y = 0 [window] dynamic_padding = true -#option_as_alt = "Both" +option_as_alt = "Both" [window.padding] x = 12 diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 94269b4..2b77369 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -248,11 +248,22 @@ must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~ #+BEGIN_SRC emacs-lisp (use-package magit :ensure t) #+END_SRC + + ** Autocomplete #+BEGIN_SRC emacs-lisp (use-package auto-complete :ensure t) (ac-config-default) #+END_SRC +*** Copilot +#+BEGIN_SRC emacs-lisp + (use-package copilot + :straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el")) + :ensure t) + (define-key copilot-completion-map (kbd "C-c c") 'copilot-accept-completion) + (define-key copilot-completion-map (kbd "C-c c") 'copilot-accept-completion) +#+END_SRC + ** Company mode #+BEGIN_SRC emacs-lisp (use-package company diff --git a/.zshrc b/.zshrc index a84a5c4..85446f5 100644 --- a/.zshrc +++ b/.zshrc @@ -56,3 +56,7 @@ alias fuckctl="journalctl -fu" alias sbcl="rlwrap sbcl" alias spt="spt --tick-rate 12" + +# Wasmer +export WASMER_DIR="/Users/lizzy/.wasmer" +[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh" diff --git a/scripts/machine-specific-zsh/armin.zsh b/scripts/machine-specific-zsh/armin.zsh index 1249f80..b6a416b 100644 --- a/scripts/machine-specific-zsh/armin.zsh +++ b/scripts/machine-specific-zsh/armin.zsh @@ -16,6 +16,8 @@ export PATH="/opt/homebrew/opt/erlang@25/bin:$PATH" # asdf . $(brew --prefix asdf)/libexec/asdf.sh -export DARK_MODE=True +# export DARK_MODE=True export PATH=$PATH:/Users/lizzy/.spicetify + +source /Users/lizzy/.wasmer/wasmer.sh