Compare commits
2 Commits
902bcea33c
...
39241004ff
Author | SHA1 | Date | |
---|---|---|---|
39241004ff | |||
1d9f9d17c5 |
@ -5,20 +5,20 @@ style = "Block"
|
||||
unfocused_hollow = false
|
||||
|
||||
[font]
|
||||
size = 11.0
|
||||
size = 13.0
|
||||
|
||||
[font.bold]
|
||||
family = "JetBrainsMono Nerd Font"
|
||||
family = "ZedMono Nerd Font"
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[font.italic]
|
||||
family = "JetBrainsMono Nerd Font"
|
||||
family = "ZedMono Nerd Font"
|
||||
|
||||
[font.normal]
|
||||
family = "JetBrainsMono Nerd Font"
|
||||
family = "ZedMono Nerd Font"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
|
@ -14,6 +14,11 @@
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
#+END_SRC
|
||||
* General emacs
|
||||
** Bell Mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq ring-bell-function 'ignore)
|
||||
#+END_SRC
|
||||
|
||||
** Tab bar mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun my-tabbar-buffer-groups () ;; customize to show all normal files in one group
|
||||
@ -45,6 +50,21 @@
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq line-move-visual nil)
|
||||
#+END_SRC
|
||||
** Fuzy Wuzzy
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ivy
|
||||
:ensure t)
|
||||
(use-package counsel
|
||||
:ensure t)
|
||||
(ivy-mode 1)
|
||||
(counsel-mode 1)
|
||||
#+END_SRC
|
||||
|
||||
** Electric Pair Mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(electric-pair-mode)
|
||||
(electric-quote-mode)
|
||||
#+END_SRC
|
||||
** GUI stuff
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(menu-bar-mode -1)
|
||||
@ -83,10 +103,39 @@
|
||||
#+END_SRC
|
||||
** Font
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(let ((font "JetBrains Mono-12:style=Regular"))
|
||||
;; (let ((font "JetBrains Mono-13:style=Regular"))
|
||||
;; (set-face-attribute 'default nil :font font)
|
||||
;; (set-frame-font font nil t))
|
||||
(let ((font "ZedMono Nerd Font-13:style=Regular"))
|
||||
(set-face-attribute 'default nil :font font)
|
||||
(set-frame-font font nil t))
|
||||
;; This assumes you've installed the package via MELPA.
|
||||
(use-package ligature
|
||||
:config
|
||||
;; Enable the "www" ligature in every possible major mode
|
||||
(ligature-set-ligatures 't '("www"))
|
||||
;; Enable traditional ligature support in eww-mode, if the
|
||||
;; `variable-pitch' face supports it
|
||||
(ligature-set-ligatures 'eww-mode '("ff" "fi" "ffi"))
|
||||
;; Enable all Cascadia Code ligatures in programming modes
|
||||
(ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
|
||||
":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
|
||||
"!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
|
||||
"<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
|
||||
"<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
|
||||
"..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
|
||||
"~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
|
||||
"[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
|
||||
">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
|
||||
"<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
|
||||
"##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
|
||||
"?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||
"\\\\" "://"))
|
||||
;; Enables ligature checks globally in all buffers. You can also do it
|
||||
;; per mode with `ligature-mode'.
|
||||
(global-ligature-mode t))
|
||||
#+END_SRC
|
||||
|
||||
** Catppuccin and theme notify watcher
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package catppuccin-theme
|
||||
@ -104,10 +153,11 @@
|
||||
(if (not (eq catppuccin-flavor current-flavor))
|
||||
(catppuccin-reload))))
|
||||
|
||||
(set-system-theme)
|
||||
(set-system-theme) (catppuccin-reload)
|
||||
(file-notify-add-watch *theme-file* '(change)
|
||||
#'(lambda (event) (set-system-theme)))
|
||||
#+END_SRC
|
||||
|
||||
** Doom-modeline
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package doom-modeline
|
||||
@ -265,7 +315,7 @@ must run ~(all-the-icons-install-fonts)~ and ~(nerd-fonts-install-fonts)~
|
||||
(setq lsp-keymap-prefix "C-c l")
|
||||
:hook ((python-ts-mode . lsp) ;; pip install python-lsp-server pyls-black pyls-isort pyls-mypy
|
||||
(elixir-mode . lsp)
|
||||
(rust-mode . lsp)
|
||||
(rust-ts-mode . lsp)
|
||||
(go-ts-mode . lsp)
|
||||
(java-mode . lsp)
|
||||
(php-mode . lsp)
|
||||
|
3
.zshrc
3
.zshrc
@ -61,3 +61,6 @@ alias vim="nvim"
|
||||
# Wasmer
|
||||
export WASMER_DIR="/Users/lizzy/.wasmer"
|
||||
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh"
|
||||
|
||||
# bun completions
|
||||
[ -s "/Users/lizzy/.bun/_bun" ] && source "/Users/lizzy/.bun/_bun"
|
||||
|
@ -24,14 +24,7 @@ source /Users/lizzy/.wasmer/wasmer.sh
|
||||
|
||||
eval "$(zoxide init --cmd z zsh)"
|
||||
|
||||
# Add the following to your shell init to set up gpg-agent automatically for every shell
|
||||
# Add the following to your shell init to set up gpg-agent automatically for every shell
|
||||
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
|
||||
source ~/.gnupg/.gpg-agent-info
|
||||
export GPG_AGENT_INFO
|
||||
else
|
||||
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
|
||||
fi
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
|
Loading…
Reference in New Issue
Block a user