summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2022-11-22 21:22:01 -0500
committerAmin Bandali <bandali@gnu.org>2022-11-22 21:22:01 -0500
commit3ec6733512109d04258477905e36c6786faa23b3 (patch)
tree2d338c48f65099738e5bf4bbacc75b4cb5be2865
parent29b4e620468ca8163721b54b045fd4a576c7fca8 (diff)
downloadconfigs-3ec6733512109d04258477905e36c6786faa23b3.tar.gz
configs-3ec6733512109d04258477905e36c6786faa23b3.tar.xz
configs-3ec6733512109d04258477905e36c6786faa23b3.zip
* .emacs.d/init.el: Use the default C-a behaviour.
-rw-r--r--.emacs.d/init.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index a96bfdc..28c1ba7 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)