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