diff options
Diffstat (limited to '.config/emacs/modules/bd--essentials.el')
-rw-r--r-- | .config/emacs/modules/bd--essentials.el | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/.config/emacs/modules/bd--essentials.el b/.config/emacs/modules/bd--essentials.el deleted file mode 100644 index e8ea502..0000000 --- a/.config/emacs/modules/bd--essentials.el +++ /dev/null @@ -1,54 +0,0 @@ -;;; -*- lexical-binding: t; -*- -;;; Commentary: -;;; Code: - - -;;;; standard bindings -(keymap-global-unset "C-z") -(keymap-global-unset "C-x C-z") - -(global-set-key (kbd "C-x C-b") 'ibuffer) - -(global-set-key (kbd "C-z =") 'text-scale-increase) -(global-set-key (kbd "C-z -") 'text-scale-decrease) -(setopt text-scale-mode-step 1.1) -(repeat-mode 1) - - -;;;; UI -(setopt inhibit-startup-message t - initial-major-mode 'eshell-mode - initial-scratch-message nil) -(tooltip-mode -1) - -(defun pulse-line (&rest _) - "Pulse the current line." - (pulse-momentary-highlight-one-line (point))) - -(dolist (command '(scroll-up-command scroll-down-command - recenter-top-bottom other-window)) - (advice-add command :after #'pulse-line)) - - -;;;; defaults -;; basic editing -(setopt kill-whole-line t - sentence-end-double-space nil) -(setq-default tab-width 8) -(global-hl-line-mode 1) -(global-visual-line-mode t) - -(setopt next-line-add-newlines t) - - -;;;; buffers -(global-auto-revert-mode 1) -(setopt global-auto-revert-non-file-buffers t - auto-revert-interval 30) -(setopt scroll-up-aggressively '0.50 - scroll-down-aggressively '0.50) -(setopt Man-notify-method 'pushy) - - -(provide 'bd--essentials) -;;; bd-essentials ends here |