Add more crux stuff

This commit is contained in:
Case Duckworth 2022-01-04 00:40:26 -06:00
parent e9a1034f8c
commit 800aff8342
1 changed files with 9 additions and 2 deletions

11
init.el
View File

@ -774,8 +774,15 @@
(:option consult--regexp-compiler 'consult--orderless-regexp-compiler))))
(setup (:straight crux)
(:+key "C-o" #'crux-smart-open-line
"C-x 4 t" #'crux-transpose-windows)
;; yes it's silly I have an addon to this addon.
(:also-load +crux)
(:option crux-shell-func #'crux-eshell)
(:global "C-o" #'crux-smart-open-line
"C-x 4 t" #'crux-transpose-windows
"M-w" #'+crux-kill-ring-save
"C-k" #'crux-kill-and-join-forward
"C-c d" #'+crux-insert-date-or-time)
(:+leader "s" #'crux-visit-shell-buffer)
(el-patch-feature crux)
(with-eval-after-load 'crux