2012-08-28 04:30:01 +10:00
|
|
|
(require 'evil)
|
2012-10-23 15:30:16 +11:00
|
|
|
(add-hook 'prog-mode-hook 'evil-mode)
|
2012-10-24 01:17:57 +11:00
|
|
|
(require 'surround)
|
|
|
|
(add-hook 'prog-mode-hook 'global-surround-mode)
|
2012-08-28 04:30:01 +10:00
|
|
|
|
2012-08-31 01:31:48 +10:00
|
|
|
(define-key evil-motion-state-map (kbd "C-u") 'evil-scroll-up)
|
|
|
|
|
2012-08-28 04:30:01 +10:00
|
|
|
;; TODO
|
2012-10-23 15:30:16 +11:00
|
|
|
;; * Map D to C-k (i.e. preserve paredit's version)
|
|
|
|
;; * Make word motions obey subword-mode setting
|
|
|
|
;; * Put current Evil state into powerline
|