add wasmer and copilot C-c c binding

This commit is contained in:
Elizabeth Hunt 2024-03-01 11:54:18 -07:00
parent f388d9a9d6
commit 324e7a4093
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
4 changed files with 19 additions and 2 deletions

View File

@ -24,7 +24,7 @@ y = 0
[window]
dynamic_padding = true
#option_as_alt = "Both"
option_as_alt = "Both"
[window.padding]
x = 12

View File

@ -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

4
.zshrc
View File

@ -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"

View File

@ -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