Put initializations together

master
Jacopo De Simoi 13 years ago
parent c543f29e81
commit 897e6e8f1d
  1. 8
      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)

Loading…
Cancel
Save