X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/29b4e620468ca8163721b54b045fd4a576c7fca8..22a90cca43cc2d42cd8f658b6ee388a733afd9ed:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a96bfdc..a04b4c8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -375,16 +375,16 @@ For disabling the behaviour for certain buffers and/or modes." (make-local-variable 'mouse-autoselect-window) (setq mouse-autoselect-window nil)) -(defun b/move-indentation-or-beginning-of-line (arg) - "Move to the indentation or to the beginning of line." - (interactive "^p") - ;; (if (bolp) - ;; (back-to-indentation) - ;; (move-beginning-of-line arg)) - (if (= (point) - (progn (back-to-indentation) - (point))) - (move-beginning-of-line arg))) +;; (defun b/move-indentation-or-beginning-of-line (arg) +;; "Move to the indentation or to the beginning of line." +;; (interactive "^p") +;; ;; (if (bolp) +;; ;; (back-to-indentation) +;; ;; (move-beginning-of-line arg)) +;; (if (= (point) +;; (progn (back-to-indentation) +;; (point))) +;; (move-beginning-of-line arg))) (defun b/join-line-top () "Like `join-line', but join next line to the current line." @@ -438,7 +438,7 @@ Effectively a very simple light/dark theme toggle switch." ;;; General key bindings -(global-set-key (kbd "C-a") #'b/move-indentation-or-beginning-of-line) +;; (global-set-key (kbd "C-a") #'b/move-indentation-or-beginning-of-line) (global-set-key (kbd "C-c i") #'ielm) (global-set-key (kbd "C-c d") #'b/duplicate-line-or-region) (global-set-key (kbd "C-c j") #'b/join-line-top) @@ -772,12 +772,6 @@ Effectively a very simple light/dark theme toggle switch." (define-key b/boxquote-prefix-map (kbd "M-q") #'boxquote-fill-paragraph) (define-key b/boxquote-prefix-map (kbd "M-w") #'boxquote-kill-ring-save)) -(add-to-list 'load-path (b/lisp "hl-todo")) -(run-with-idle-timer 0.5 nil #'require 'hl-todo) -(with-eval-after-load 'hl-todo - ;; Highlight TODO in buffers. - (global-hl-todo-mode)) - ;; `debbugs' (global-set-key (kbd "C-c D d") #'debbugs-gnu) (global-set-key (kbd "C-c D b") #'debbugs-gnu-bugs)