|
@@ -47,6 +47,14 @@
|
|
|
'(fzf :type git :host github
|
|
|
:repo "bling/fzf.el"))
|
|
|
|
|
|
+;; newlisp mode
|
|
|
+(straight-use-package
|
|
|
+ '(newlisp-mode
|
|
|
+ :type git :host github
|
|
|
+ :repo "may/newlisp-mode"))
|
|
|
+;; Straight weirdly doesn't resolve this correctly
|
|
|
+(load-file "~/.emacs.d/straight/repos/newlisp-mode/newlisp.el")
|
|
|
+
|
|
|
;; Mastodon
|
|
|
(straight-use-package
|
|
|
'(mastodon
|
|
@@ -134,7 +142,7 @@
|
|
|
(require 'package)
|
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
|
|
(package-install 'symon)
|
|
|
-(symon-mode 1)
|
|
|
+;;(symon-mode 1)
|
|
|
|
|
|
(straight-use-package
|
|
|
'(telephone-line :type git :host github
|
|
@@ -240,9 +248,7 @@
|
|
|
;;; https://christiantietze.de/posts/2020/12/emacs-scroll-performance-projectile/
|
|
|
(setq mouse-wheel-progressive-speed t)
|
|
|
|
|
|
-;; normal home/end behavior
|
|
|
-(global-set-key (kbd "<home>") 'beginning-of-line)
|
|
|
-(global-set-key (kbd "<end>") 'end-of-line)
|
|
|
+
|
|
|
|
|
|
;; whitespace config
|
|
|
;; make whitespace-mode use just basic coloring
|
|
@@ -301,7 +307,9 @@
|
|
|
(interactive)
|
|
|
(switch-to-buffer "*Messages*")))
|
|
|
(global-set-key (kbd "C-c C-f") 'find-file-at-point)
|
|
|
-(global-set-key (kbd "C-c m p") 'mpc-toggle-play)
|
|
|
+(global-set-key (kbd "C-c m p") '(lambda ()
|
|
|
+ (interactive)
|
|
|
+ (shell-command "mpc toggle")))
|
|
|
|
|
|
;;; Erc config
|
|
|
(setq erc-nick "speskk")
|
|
@@ -347,10 +355,13 @@
|
|
|
(global-set-key (kbd "C-c 2 p") 'display-pb)
|
|
|
|
|
|
;; Disable bars
|
|
|
-(menu-bar-mode -1)
|
|
|
+;; (menu-bar-mode -1)
|
|
|
(tool-bar-mode -1)
|
|
|
(scroll-bar-mode -1)
|
|
|
|
|
|
+;; Start in server mode
|
|
|
+(server-start)
|
|
|
+
|
|
|
;; Load for macOS
|
|
|
;;; Slime/etc
|
|
|
(if (eq system-type 'darwin)
|
|
@@ -378,7 +389,9 @@
|
|
|
(if (eq system-type 'gnu/linux)
|
|
|
(if (display-graphic-p)
|
|
|
(progn
|
|
|
-
|
|
|
+ ;; normal home/end behavior in GUI
|
|
|
+ (global-set-key (kbd "<home>") 'beginning-of-line)
|
|
|
+ (global-set-key (kbd "<end>") 'end-of-line)
|
|
|
(load (expand-file-name "~/quicklisp/slime-helper.el"))
|
|
|
(setq inferior-lisp-program (locate-file "sbcl" exec-path exec-suffixes 1))
|
|
|
;; https://emacs.stackexchange.com/questions/332/how-can-i-find-the-path-to-an-executable-with-emacs-lisp
|