Ver Fonte

Small changes

Simon Watson há 2 anos atrás
pai
commit
bacc08d3d1
3 ficheiros alterados com 10 adições e 9 exclusões
  1. 6 5
      emacs/.emacs-all
  2. 2 2
      emacs/yasnippets/eshell-mode/ll
  3. 2 2
      emacs/yasnippets/lisp-mode/defun

+ 6 - 5
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)
 

+ 2 - 2
emacs/yasnippets/eshell-mode/ll

@@ -1,5 +1,5 @@
 # -*- mode: snippet -*-
-# name: exa list 
+# name: exa list
 # key: /ll
 # --
-exa -lah
+exa -lah

+ 2 - 2
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} ()