games, utils, emacs
This commit is contained in:
parent
20e3575415
commit
ff3acbecae
3 changed files with 83 additions and 30 deletions
|
@ -118,8 +118,8 @@ function filelink
|
||||||
echo "file://$(realpath $argv)"
|
echo "file://$(realpath $argv)"
|
||||||
end
|
end
|
||||||
alias xpy '~/Aims/rust/x.py'
|
alias xpy '~/Aims/rust/x.py'
|
||||||
alias sbcl "rlwrap sbcl"
|
# alias sbcl "rlwrap sbcl"
|
||||||
alias guile "rlwrap guile"
|
# alias guile "rlwrap guile"
|
||||||
alias chez "rlwrap chez"
|
alias chez "rlwrap chez"
|
||||||
#alias clj 'clojure -Sdeps "{:deps {com.bhauman/rebel-readline {:mvn/version \"0.1.4\"} $args}}" -m rebel-readline.main'
|
#alias clj 'clojure -Sdeps "{:deps {com.bhauman/rebel-readline {:mvn/version \"0.1.4\"} $args}}" -m rebel-readline.main'
|
||||||
alias csi "rlwrap chicken-csi"
|
alias csi "rlwrap chicken-csi"
|
||||||
|
|
21
home.nix
21
home.nix
|
@ -27,15 +27,20 @@ in
|
||||||
brogue
|
brogue
|
||||||
# cataclysm-dda
|
# cataclysm-dda
|
||||||
keeperrl
|
keeperrl
|
||||||
|
# adom
|
||||||
openrct2
|
openrct2
|
||||||
# not yet
|
# not yet
|
||||||
# celeste64
|
# celeste64
|
||||||
dolphin-emu
|
tetrio-desktop
|
||||||
# foliate
|
# foliate
|
||||||
# thunderbird
|
# thunderbird
|
||||||
|
prismlauncher
|
||||||
|
|
||||||
starship
|
starship
|
||||||
eza
|
eza
|
||||||
dmenu
|
dmenu
|
||||||
|
watchexec
|
||||||
|
wl-clipboard
|
||||||
xsel
|
xsel
|
||||||
manix
|
manix
|
||||||
shellcheck
|
shellcheck
|
||||||
|
@ -47,13 +52,15 @@ in
|
||||||
sbcl
|
sbcl
|
||||||
chez
|
chez
|
||||||
guile
|
guile
|
||||||
|
gambit
|
||||||
racket
|
racket
|
||||||
clojure
|
clojure
|
||||||
ruby_3_3
|
ruby_3_3
|
||||||
gcc
|
gcc
|
||||||
jq
|
jq
|
||||||
|
file
|
||||||
|
fd
|
||||||
|
|
||||||
watchexec
|
|
||||||
|
|
||||||
cargo
|
cargo
|
||||||
clippy
|
clippy
|
||||||
|
@ -70,6 +77,7 @@ in
|
||||||
steam-run
|
steam-run
|
||||||
gamemode
|
gamemode
|
||||||
rare
|
rare
|
||||||
|
minigalaxy
|
||||||
slipstream
|
slipstream
|
||||||
obs-studio
|
obs-studio
|
||||||
# drm more like pooprm
|
# drm more like pooprm
|
||||||
|
@ -229,6 +237,7 @@ in
|
||||||
safe = {
|
safe = {
|
||||||
directory = "*";
|
directory = "*";
|
||||||
};
|
};
|
||||||
|
core.autocrlf = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -344,6 +353,7 @@ in
|
||||||
rainbow-delimiters
|
rainbow-delimiters
|
||||||
geiser-chez
|
geiser-chez
|
||||||
geiser-guile
|
geiser-guile
|
||||||
|
geiser-gambit
|
||||||
macrostep-geiser
|
macrostep-geiser
|
||||||
evil
|
evil
|
||||||
evil-leader
|
evil-leader
|
||||||
|
@ -355,14 +365,19 @@ in
|
||||||
elixir-mode
|
elixir-mode
|
||||||
gcmh
|
gcmh
|
||||||
|
|
||||||
slime
|
sly
|
||||||
general
|
general
|
||||||
lispyville
|
lispyville
|
||||||
|
|
||||||
|
clojure-mode
|
||||||
|
cider
|
||||||
|
|
||||||
haskell-mode
|
haskell-mode
|
||||||
lsp-haskell
|
lsp-haskell
|
||||||
|
|
||||||
direnv
|
direnv
|
||||||
|
|
||||||
|
esup
|
||||||
];
|
];
|
||||||
# apparently errors in the config matter? nvm?
|
# apparently errors in the config matter? nvm?
|
||||||
extraConfig = (import ./init.el.nix) pkgs;
|
extraConfig = (import ./init.el.nix) pkgs;
|
||||||
|
|
54
init.el.nix
54
init.el.nix
|
@ -748,7 +748,8 @@ If the new path's directories does not exist, create them."
|
||||||
(lisp-interaction-mode . enable-paredit-mode)
|
(lisp-interaction-mode . enable-paredit-mode)
|
||||||
(scheme-mode . enable-paredit-mode)
|
(scheme-mode . enable-paredit-mode)
|
||||||
;; (inferior-scheme-mode . enable-paredit-mode)
|
;; (inferior-scheme-mode . enable-paredit-mode)
|
||||||
(slime-repl-mode . enable-paredit-mode)
|
;(slime-repl-mode . enable-paredit-mode)
|
||||||
|
(sly-repl-mode . enable-paredit-mode)
|
||||||
(clojure-mode . enable-paredit-mode)
|
(clojure-mode . enable-paredit-mode)
|
||||||
(clojurescript-mode . enable-paredit-mode)
|
(clojurescript-mode . enable-paredit-mode)
|
||||||
(cider-repl-mode . enable-paredit-mode)
|
(cider-repl-mode . enable-paredit-mode)
|
||||||
|
@ -769,7 +770,7 @@ If the new path's directories does not exist, create them."
|
||||||
; (use-package geiser-chez
|
; (use-package geiser-chez
|
||||||
; :ensure t
|
; :ensure t
|
||||||
; :config
|
; :config
|
||||||
(setq geiser-active-implementations '(chez guile))
|
(setq geiser-active-implementations '(chez guile gambit))
|
||||||
;(setq geiser-chez-binary "/usr/bin/chez")
|
;(setq geiser-chez-binary "/usr/bin/chez")
|
||||||
(setq geiser-repl-query-on-kill-p nil)
|
(setq geiser-repl-query-on-kill-p nil)
|
||||||
; )
|
; )
|
||||||
|
@ -799,17 +800,30 @@ If the new path's directories does not exist, create them."
|
||||||
(general-add-hook '(emacs-lisp-mode-hook lisp-mode-hook scheme-mode-hook) #'lispyville-mode)
|
(general-add-hook '(emacs-lisp-mode-hook lisp-mode-hook scheme-mode-hook) #'lispyville-mode)
|
||||||
:config)
|
:config)
|
||||||
|
|
||||||
(use-package slime :ensure t
|
;(use-package slime :ensure t
|
||||||
|
; :init
|
||||||
|
; (setq slime-contribs '(slime-fancy)
|
||||||
|
; slime-complete-symbol-function 'slime-fuzzy-complete-symbol
|
||||||
|
; slime-net-coding-system 'utf-8-unix
|
||||||
|
; slime-lisp-implementations '((sbcl ("${pkgs.sbcl}/bin/sbcl"))))
|
||||||
|
; :config
|
||||||
|
; (setq common-lisp-hyperspec-root "${pkgs.sbclPackages.hyperspec}/docs/"
|
||||||
|
; ;common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt")
|
||||||
|
; ;common-lisp-hyperspec-issuex-table (concat common-lisp-hyperspec-root "Data/Map_IssX.txt")
|
||||||
|
; ))
|
||||||
|
|
||||||
|
(use-package sly :ensure t
|
||||||
:init
|
:init
|
||||||
(setq slime-contribs '(slime-fancy)
|
(setq inferior-lisp-program "${pkgs.sbcl}/bin/sbcl")
|
||||||
slime-complete-symbol-function 'slime-fuzzy-complete-symbol
|
|
||||||
slime-net-coding-system 'utf-8-unix
|
|
||||||
slime-lisp-implementations '((sbcl ("${pkgs.sbcl}/bin/sbcl"))))
|
|
||||||
:config
|
:config
|
||||||
(setq common-lisp-hyperspec-root "${pkgs.sbclPackages.hyperspec}/docs/"
|
(setq common-lisp-hyperspec-root "${pkgs.sbclPackages.hyperspec}/docs/"
|
||||||
;common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt")
|
;common-lisp-hyperspec-symbol-table (concat common-lisp-hyperspec-root "Data/Map_Sym.txt")
|
||||||
;common-lisp-hyperspec-issuex-table (concat common-lisp-hyperspec-root "Data/Map_IssX.txt")
|
;common-lisp-hyperspec-issuex-table (concat common-lisp-hyperspec-root "Data/Map_IssX.txt")
|
||||||
))
|
)
|
||||||
|
;(define-key sly-prefix-map (kbd "<down>") 'sly-next-completion)
|
||||||
|
)
|
||||||
|
|
||||||
|
(add-hook 'sly-db-hook 'turn-off-evil-mode)
|
||||||
|
|
||||||
;;; Emacs Bedrock
|
;;; Emacs Bedrock
|
||||||
;;;
|
;;;
|
||||||
|
@ -963,6 +977,27 @@ If the new path's directories does not exist, create them."
|
||||||
"ic" 'erc-switch-to-buffer
|
"ic" 'erc-switch-to-buffer
|
||||||
"is" 'erc-server-select
|
"is" 'erc-server-select
|
||||||
"ia" 'erc-track-switch-buffer
|
"ia" 'erc-track-switch-buffer
|
||||||
|
|
||||||
|
;clojure
|
||||||
|
"cii" 'cider-jack-in
|
||||||
|
"cim" 'cider-inspire-me
|
||||||
|
|
||||||
|
; cs => clojure send
|
||||||
|
; css lol
|
||||||
|
"css" 'cider-eval-last-sexp
|
||||||
|
"csa" 'cider-eval-buffer
|
||||||
|
"csd" 'cider-eval-defun-at-point
|
||||||
|
"csn" 'cider-ns-reload
|
||||||
|
|
||||||
|
; cf => clojure fix?
|
||||||
|
"cfl" 'clojure-move-to-let
|
||||||
|
"cfp" 'clojure-cyle-privacy
|
||||||
|
"cfi" 'clojure-toggle-ignore
|
||||||
|
"cff" 'clojure-thread-first-all
|
||||||
|
"cfl" 'clojure-thread-last-all
|
||||||
|
|
||||||
|
; cd => clojure doc
|
||||||
|
"cd" 'cider-doc
|
||||||
))
|
))
|
||||||
|
|
||||||
(use-package evil-goggles
|
(use-package evil-goggles
|
||||||
|
@ -1032,4 +1067,7 @@ If the new path's directories does not exist, create them."
|
||||||
(use-package lsp-haskell
|
(use-package lsp-haskell
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
; yay
|
||||||
|
(setq confirm-kill-processes nil)
|
||||||
|
(setq auto-save-interval 100)
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue