|
@@ -39,6 +39,9 @@
|
|
(straight-use-package 'focus)
|
|
(straight-use-package 'focus)
|
|
(straight-use-package 'solarized-theme)
|
|
(straight-use-package 'solarized-theme)
|
|
(straight-use-package 'windresize)
|
|
(straight-use-package 'windresize)
|
|
|
|
+(straight-use-package 'yasnippet)
|
|
|
|
+
|
|
|
|
+(require 'yasnippet)
|
|
|
|
|
|
;; Configure focus
|
|
;; Configure focus
|
|
(require 'focus)
|
|
(require 'focus)
|
|
@@ -160,6 +163,11 @@
|
|
;;; Slime/etc
|
|
;;; Slime/etc
|
|
(if (eq system-type 'darwin)
|
|
(if (eq system-type 'darwin)
|
|
(progn
|
|
(progn
|
|
|
|
+ ;; Configure yasnippet
|
|
|
|
+ (setq yas-snippet-dirs
|
|
|
|
+ '("~/Repos/dotfiles/emacs/yasnippets/"))
|
|
|
|
+ (yas-global-mode 1)
|
|
|
|
+
|
|
(setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
|
|
(setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
|
|
(load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
|
|
(load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
|
|
(load "/Users/swatson/.emacs.d/.erc-auth.el")
|
|
(load "/Users/swatson/.emacs.d/.erc-auth.el")
|
|
@@ -182,6 +190,11 @@
|
|
;; Load for Windows10
|
|
;; Load for Windows10
|
|
(if (eq system-type 'windows-nt)
|
|
(if (eq system-type 'windows-nt)
|
|
(progn
|
|
(progn
|
|
|
|
+ ;; Configure yasnippet
|
|
|
|
+ (setq yas-snippet-dirs
|
|
|
|
+ '("C:/Users/watsonsi/Documents/Github/dotfiles/emacs/yasnippets/"))
|
|
|
|
+ (yas-global-mode 1)
|
|
|
|
+
|
|
(load "C:/Users/watsonsi/Documents/GitHub/dotfiles/emacs/windows-load/customs.el")
|
|
(load "C:/Users/watsonsi/Documents/GitHub/dotfiles/emacs/windows-load/customs.el")
|
|
(setq visible-bell 1)
|
|
(setq visible-bell 1)
|
|
(load-theme 'solarized-light t)))
|
|
(load-theme 'solarized-light t)))
|
|
@@ -190,6 +203,14 @@
|
|
(if (eq system-type 'gnu/linux)
|
|
(if (eq system-type 'gnu/linux)
|
|
(if (display-graphic-p)
|
|
(if (display-graphic-p)
|
|
(progn
|
|
(progn
|
|
|
|
+ (setq yas-snippet-dirs
|
|
|
|
+ '("~/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)
|
|
(straight-use-package 'exwm)
|
|
(require 'exwm)
|
|
(require 'exwm)
|
|
|
|
|