commit bacc08d3d16ac6389894d3b03d06ef5c60c0ae05
Author: Simon Watson <spw01@protonmail.com>
Date: Wed Jul 14 22:47:49 2021 -0400
Small changes
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index c8e5aa5..b877140 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -153,6 +153,7 @@
(global-set-key (kbd "C-c w") 'windresize)
(global-set-key (kbd "C-c t") 'sol-dk)
(global-set-key (kbd "C-c g") 'sol-l)
+(global-set-key (kbd "C-c y") 'evil-mode) ; Quick toggle evil-mode for slime err
(fset 'date-to-point
(kmacro-lambda-form [?\C-u ?\M-! ?d ?a ?t ?e return] 0 "%d"))
@@ -170,6 +171,11 @@
perl-indent-parens-as-block 0
perl-indent-level 8)
+;; Set to make mouse focus window
+(setq mouse-autoselect-window t
+ focus-follows-mouse t)
+
+
;; Load for macOS
;;; Slime/etc
(if (eq system-type 'darwin)
@@ -218,10 +224,6 @@
'("~/Repos/dotfiles/emacs/yasnippets/"))
(yas-global-mode 1)
- ;; Set to make mouse focus window
- (setq mouse-autoselect-window t
- focus-follows-mouse t)
-
(straight-use-package 'exwm)
(require 'exwm)
@@ -230,7 +232,6 @@
(load "~/Repos/dotfiles/emacs/linux-load/exwm-config.el")
-
(require 'exwm-config-spw)
(exwm-config-spw)
diff --git a/emacs/yasnippets/eshell-mode/ll b/emacs/yasnippets/eshell-mode/ll
index fef9b62..724c3d7 100644
--- a/emacs/yasnippets/eshell-mode/ll
+++ b/emacs/yasnippets/eshell-mode/ll
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
-# name: exa list
+# name: exa list
# key: /ll
# --
-exa -lah
+exa -lah
\ No newline at end of file
diff --git a/emacs/yasnippets/lisp-mode/defun b/emacs/yasnippets/lisp-mode/defun
index 0d6c39a..90b6ff4 100644
--- a/emacs/yasnippets/lisp-mode/defun
+++ b/emacs/yasnippets/lisp-mode/defun
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
-# name: defun elisp
-# key: /df
+# name: defun elisp
+# key: /defun
# --
(defun ${1:fun-name} ()
\ No newline at end of file