From 36f8eb7b5246cbd9682b7155a68b6eaf8517b0ea Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Sat, 9 Nov 2024 13:30:14 -0600 Subject: [PATCH] Update --- doom/.doom.d/config.el | 18 +++++++++++++++--- doom/.doom.d/init.el | 2 +- doom/.doom.d/packages.el | 3 ++- zsh/.zshrc | 3 +++ 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/doom/.doom.d/config.el b/doom/.doom.d/config.el index 778e0f2..a8d1ad1 100644 --- a/doom/.doom.d/config.el +++ b/doom/.doom.d/config.el @@ -17,7 +17,7 @@ (remove ".git" projectile-project-root-files-bottom-up))) ;; Set fonts -(setq fontsize 18) +(setq fontsize 14) (setq monofontfam "JetBrainsMono Nerd Font Mono") (setq doom-font (font-spec :family monofontfam :size fontsize) doom-variable-pitch-font (font-spec :family monofontfam :size fontsize) @@ -104,7 +104,7 @@ Version 2015-08-22" (defun browse-host-web (url) "Browse URL with Firefox/LibreWolf/IceCat" (interactive "sURL: ") - (shell-command (concat "librewolf" url))) + (shell-command (concat "librewolf " url))) (setq browse-url-browser-function 'browse-host-web) @@ -274,12 +274,16 @@ If point was already at that position, move point to beginning of line." (setq dictionary-server "dict.org") -;;;; dired +;;;; casual (map! :after dired :map dired-mode-map "C-o" #'casual-dired-tmenu) +(require 'casual-bookmarks) +(keymap-set bookmark-bmenu-mode-map "C-o" #'casual-bookmarks-tmenu) + + ;;;; elpher @@ -294,3 +298,11 @@ If point was already at that position, move point to beginning of line." (setq vterm-buffer-name-string "vterm %s") (setq vterm-copy-exclude-prompt t) (setq vterm-ignore-blink-cursor nil) + + + +;;;; mastodon.el + +(setq mastodon-instance-url "https://fedi.hyperreal.coffee" + mastodon-active-user "hyperreal" + mastodon-use-emojify t) diff --git a/doom/.doom.d/init.el b/doom/.doom.d/init.el index 831dede..39ef12b 100644 --- a/doom/.doom.d/init.el +++ b/doom/.doom.d/init.el @@ -162,7 +162,7 @@ ;;rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - ;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps sh ; she sells {ba,z,fi}sh shells on the C xor diff --git a/doom/.doom.d/packages.el b/doom/.doom.d/packages.el index bb67fee..2841aec 100644 --- a/doom/.doom.d/packages.el +++ b/doom/.doom.d/packages.el @@ -9,7 +9,7 @@ ;(package! some-package) (package! apheleia) (package! autothemer) -(package! casual-dired) +(package! casual) (package! catppuccin-theme) (package! dockerfile-mode) (package! elpher) @@ -19,6 +19,7 @@ (package! helpful) (package! just-mode) (package! license-templates) +(package! mastodon) (package! org-superstar) (package! ox-hugo) (package! pdf-tools) diff --git a/zsh/.zshrc b/zsh/.zshrc index 7597316..12e9184 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -105,6 +105,9 @@ add-zsh-hook -Uz chpwd() { print -Pn "\e]2;%m:%2~\a" } # direnv eval "$(direnv hook zsh)" +# starship.rs +eval "$(starship init zsh)" + # Ensure always loading the latest version of the emacs-vterm-zsh.sh file if [[ "$INSIDE_EMACS" = 'vterm' ]] \ && [[ -n ${EMACS_VTERM_PATH} ]] \