dotfiles/emacs/.emacs.d/config/init-built-ins.el

40 lines
917 B
EmacsLisp
Raw Normal View History

2021-02-21 02:59:11 +00:00
;; -*- lexical-binding: t; -*-
2021-02-20 23:23:42 +00:00
;; Configuration for built-ins that don't fit anywhere else
(use-package custom
:straight (:type built-in)
2021-02-21 03:01:03 +00:00
:defer t
2021-02-20 23:23:42 +00:00
:config
(evil-collection-custom-setup))
(use-package view
:straight (:type built-in)
2021-02-21 03:01:03 +00:00
:defer t
2021-02-20 23:23:42 +00:00
:config
(evil-collection-view-setup))
(use-package simple
:straight (:type built-in)
:general
2021-02-21 03:01:15 +00:00
(leader-map "!" #'shell-command
"|" #'shell-command-on-region
";" #'async-shell-command)
(normal special-mode-map
"gr" #'revert-buffer
"q" #'quit-window)
(normal messages-buffer-mode-map
"gr" #'revert-buffer
"q" #'quit-window))
2021-02-21 03:01:15 +00:00
(use-package shell
:straight (:type built-in)
:general
(normal shell-mode-map "q" #'bury-buffer))
2021-02-21 16:27:48 +00:00
(use-package ediff
:straight (:type built-in)
:config
(setq ediff-window-setup-function #'ediff-setup-windows-plain))
2021-02-20 23:23:42 +00:00
(provide 'init-built-ins)