dotfiles/editors/emacs/bjeanes/99_vim.el

12 lines
340 B
EmacsLisp
Raw Normal View History

2012-08-28 04:30:01 +10:00
(require 'evil)
(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
;; * Map D to C-k (i.e. preserve paredit's version)
;; * Make word motions obey subword-mode setting
;; * Put current Evil state into powerline