From 2cbc53c481b96249657c959751a7a377af280820 Mon Sep 17 00:00:00 2001 From: James Dixon Date: Fri, 6 Jun 2025 10:35:35 -0400 Subject: [PATCH] Disable evil mode, add command-log, animate modelen parrot and nyan. --- config/emacs/.config/emacs/init.el | 23 +++++++++++++++++++---- config/emacs/.config/emacs/init.org | 24 ++++++++++++++++++++---- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/config/emacs/.config/emacs/init.el b/config/emacs/.config/emacs/init.el index 1dedcae..8f55310 100644 --- a/config/emacs/.config/emacs/init.el +++ b/config/emacs/.config/emacs/init.el @@ -305,7 +305,7 @@ (setq evil-want-keybinding nil) (setq evil-want-integration t) :config - (evil-mode 1)) + (evil-mode -1)) ;;; Undo Nicities ;; https://github.com/emacsmirror/undo-fu @@ -448,7 +448,12 @@ :straight t :init (which-key-mode 1)) - ;;; Better help menus (helpful) +;;; Command log (show list of commands in separate buffer) +;; https://github.com/lewang/command-log-mode +(use-package command-log-mode + :straight t) + +;;; Better help menus (helpful) ;; https://github.com/Wilfred/helpful (use-package helpful :straight t @@ -644,12 +649,20 @@ ;; NYAN cat in modeline ;; https://github.com/TeMPOraL/nyan-mode (use-package nyan-mode - :straight t) + :straight t + :config + (setq nyan-wavy-trail t) + :init + (nyan-mode 1)) ;; Party Parrot in modeline ;; https://github.com/dp12/parrot (use-package parrot - :straight t) + :straight t + :init (parrot-mode 1)) + +(add-hook 'post-command-hook 'parrot-start-animation) +(add-hook 'post-command-hook 'nyan-start-animation) ;;; Mini-buffer improvements (fido, orderless, marginalia) ;; Let's try [icomplete / fido / ido] mode for a while. @@ -783,6 +796,8 @@ (format "python3 %s" (file-name-nondirectory buffer-file-name))))) ;; Abbrevs and Snippets +(define-abbrev global-abbrev-table "t" "the") +(define-abbrev global-abbrev-table "g" "go") ;; URLs (define-abbrev global-abbrev-table "mygh" "https://github.com/lemonase") ;; Timestamps diff --git a/config/emacs/.config/emacs/init.org b/config/emacs/.config/emacs/init.org index 37ca673..7d54506 100644 --- a/config/emacs/.config/emacs/init.org +++ b/config/emacs/.config/emacs/init.org @@ -388,7 +388,7 @@ Set initial evil settings as well as adding complementary evil packages. (setq evil-want-keybinding nil) (setq evil-want-integration t) :config - (evil-mode 1)) + (evil-mode -1)) ;;; Undo Nicities ;; https://github.com/emacsmirror/undo-fu @@ -553,7 +553,12 @@ as well as adding supplemental information. The result is a better experience wi :straight t :init (which-key-mode 1)) - ;;; Better help menus (helpful) +;;; Command log (show list of commands in separate buffer) +;; https://github.com/lewang/command-log-mode +(use-package command-log-mode + :straight t) + +;;; Better help menus (helpful) ;; https://github.com/Wilfred/helpful (use-package helpful :straight t @@ -794,12 +799,20 @@ Change the look and feel of Emacs. ;; NYAN cat in modeline ;; https://github.com/TeMPOraL/nyan-mode (use-package nyan-mode - :straight t) + :straight t + :config + (setq nyan-wavy-trail t) + :init + (nyan-mode 1)) ;; Party Parrot in modeline ;; https://github.com/dp12/parrot (use-package parrot - :straight t) + :straight t + :init (parrot-mode 1)) + +(add-hook 'post-command-hook 'parrot-start-animation) +(add-hook 'post-command-hook 'nyan-start-animation) #+end_src *** Completion @@ -967,8 +980,11 @@ Compile the interpreters and interpret the compilers. Abbreviations and Snippets simply allow for less typing and more output. + #+begin_src emacs-lisp :tangle "init.el" ;; Abbrevs and Snippets +(define-abbrev global-abbrev-table "t" "the") +(define-abbrev global-abbrev-table "g" "go") ;; URLs (define-abbrev global-abbrev-table "mygh" "https://github.com/lemonase") ;; Timestamps