(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."
\f
;;; 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)
(with-eval-after-load 'paren
(show-paren-mode))
-;; (run-with-idle-timer 0.2 nil #'require 'elec-pair)
-;; (with-eval-after-load 'elec-pair
-;; (electric-pair-mode))
+(run-with-idle-timer 0.2 nil #'require 'elec-pair)
+(with-eval-after-load 'elec-pair
+ (electric-pair-mode))
(with-eval-after-load 'simple
(setq