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

View file

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

View file

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