No risk, no fun

This commit is contained in:
Daniel Ziltener 2023-11-16 12:09:43 +01:00
parent 9eefbce8cf
commit fb2183435b
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 18 additions and 9 deletions

View file

@ -63,13 +63,16 @@
(read-only t cursor-intangible t face minibuffer-prompt))
(tab-always-indent 'complete)
(enable-recursive-minibuffers t)
(enable-remote-dir-locals t)
(global-hl-line-mode t)
(menu-bar-mode nil)
(scroll-bar-mode nil)
(tool-bar-mode nil)
(recentf-mode t)
:hook
(minibuffer-setup . cursor-intangible-mode))
(minibuffer-setup . cursor-intangible-mode)
:config
(advice-add 'risky-local-variable-p :override #'ignore))
;;;; Org Mode
(use-package org
@ -294,16 +297,19 @@
;;;; Lisp Navigation and Editing
;;;;; Basic
(use-package lispy
;;:custom
;;(lispy-compat ("cider" "edebug" "magit-blame-mode"))
:custom
(lispy-close-quotes-at-end-p t)
(lispy-compat '("cider" "edebug" "magit-blame-mode"))
(lispy-visit-method #'consult-find)
(lispy-occur-backend #'consult-line)
:hook
emacs-lisp-mode
scheme-mode
:config
(setq lispy-close-quotes-at-end-p t)
(evil-define-key 'insert 'prog-mode-map
"(" #'lispy-parens
"{" #'lispy-braces
"}" #'special-lispy-brackets
"}" #'lispy-brackets
")" #'lispy-right-nostring
"\"" #'lispy-quotes
(kbd "<DEL>") #'lispy-delete-backward
@ -324,7 +330,8 @@
;;;;; Visual Aid
(use-package rainbow-delimiters
:hook
emacs-lisp-mode)
emacs-lisp-mode
scheme-mode)
;;;; Programming
(use-package editorconfig
@ -401,7 +408,8 @@
(require 'sesman)
(sesman-install-menu clojure-mode-map)
:hook
((clojure-ts-mode . eglot-ensure)
((clojure-ts-mode . lispy-mode)
(clojure-ts-mode . eglot-ensure)
(clojure-ts-mode . rainbow-delimiters-mode)
(clojure-ts-mode . (lambda ()
(setq-local sesman-system 'CIDER)))

View file

@ -34,6 +34,7 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
libsForQt5.okular
libuuid
lm_sensors
gnumake
(nerdfonts.override { fonts = [ "VictorMono" "MPlus" ]; })
nil
nixfmt

View file

@ -111,8 +111,8 @@
"$mainMod, down, movefocus, d"
# Move windows inside a workspace
"$mainMod SHIFT, h, movewindoworgroup, l"
"$mainMod SHIFT, l, movewindoworgroup, r"
"$mainMod SHIFT, a, movewindoworgroup, l"
"$mainMod SHIFT, d, movewindoworgroup, r"
#Handle tabbed windows
"$mainMod, tab, changegroupactive,"