diff --git a/init.el b/init.el index dadc58c..3a45404 100644 --- a/init.el +++ b/init.el @@ -115,7 +115,6 @@ (setq default-fill-column 120) (add-to-list 'load-path "~/tmp") -(add-to-list 'load-path "~/tmp/expand-region.el") (setq mouse-yank-at-point t) (blink-cursor-mode 0) @@ -183,8 +182,7 @@ (require 'magit) (require 'iy-go-to-char) -;; (key-chord-define-global "hjdd" 'iy-go-to-char-backward) -;; (key-chord-define-global "jk" 'iy-go-to-char) +(global-set-key (kbd "M-m") 'iy-go-to-char) (defun smart-line-beginning () "Move point to the beginning of text on the current line; if that is already @@ -194,10 +192,10 @@ the current position of point, then move it to the beginning of the line." (beginning-of-line-text) (when (eq pt (point)) (beginning-of-line)))) +(global-set-key (kbd "C-a") 'smart-line-beginning) +(add-to-list 'load-path "~/tmp/expand-region.el") (require 'expand-region) -(global-set-key (kbd "C-a") 'smart-line-beginning) -(global-set-key (kbd "M-m") 'iy-go-to-char) (global-set-key (kbd "C-M-h") 'er/expand-region) (defun emacs-session-filename (session-id)