2012-12-30 17:18:08 +00:00
|
|
|
;; emacs
|
|
|
|
(key-chord-define evil-normal-state-map "em" 'smex)
|
|
|
|
;; elisp
|
2013-01-02 22:08:45 +00:00
|
|
|
(key-chord-define evil-normal-state-map "ed"
|
|
|
|
'elisp-slime-nav-find-elisp-thing-at-point)
|
2012-12-30 17:18:08 +00:00
|
|
|
(key-chord-define evil-normal-state-map "ev" 'eval-sexp)
|
|
|
|
(key-chord-define evil-normal-state-map "EV" 'eval-and-replace)
|
|
|
|
(key-chord-define evil-normal-state-map "EV" 'eval-and-replace)
|
|
|
|
;; windows
|
|
|
|
(key-chord-define evil-normal-state-map "wh" 'evil-window-left)
|
|
|
|
(key-chord-define evil-normal-state-map "wj" 'evil-window-down)
|
|
|
|
(key-chord-define evil-normal-state-map "wk" 'evil-window-up)
|
|
|
|
(key-chord-define evil-normal-state-map "wl" 'evil-window-right)
|
2013-01-02 22:08:45 +00:00
|
|
|
(key-chord-define evil-normal-state-map "wm" 'toggle-maximize-buffer)
|
|
|
|
(key-chord-define evil-normal-state-map "wr" 'rotate-windows)
|
2012-12-30 17:18:08 +00:00
|
|
|
;; buffers
|
|
|
|
(key-chord-define evil-normal-state-map "bk" 'ido-kill-buffer)
|
|
|
|
(key-chord-define evil-normal-state-map "BK" 'delete-current-buffer-file)
|
2013-01-02 22:08:45 +00:00
|
|
|
(key-chord-define evil-normal-state-map "bo" 'kill-other-buffers)
|
|
|
|
(key-chord-define evil-normal-state-map "br" 'rename-current-buffer-file)
|
|
|
|
(key-chord-define evil-normal-state-map "bs" 'ido-switch-buffer)
|
2012-12-30 17:18:08 +00:00
|
|
|
;; files
|
|
|
|
(key-chord-define evil-normal-state-map "fo" 'ido-find-file)
|
|
|
|
(key-chord-define evil-normal-state-map "fp" 'find-file-in-project)
|
|
|
|
;; terminals
|
2013-01-02 22:08:45 +00:00
|
|
|
(key-chord-define evil-normal-state-map "te" 'eshell)
|
2012-12-30 17:18:08 +00:00
|
|
|
(key-chord-define evil-normal-state-map "th" 'multi-term-prev)
|
|
|
|
(key-chord-define evil-normal-state-map "tl" 'multi-term-next)
|
2013-01-02 22:08:45 +00:00
|
|
|
(key-chord-define evil-normal-state-map "tn" 'multi-term)
|
|
|
|
(key-chord-define evil-normal-state-map "tt" 'last-used-multi-term)
|
2012-12-30 17:18:08 +00:00
|
|
|
;; git
|
2013-01-01 04:44:03 +00:00
|
|
|
(key-chord-define evil-normal-state-map "gs" 'magit-status)
|
2013-01-02 22:08:45 +00:00
|
|
|
;; errors
|
|
|
|
(key-chord-define evil-normal-state-map "rh" 'previous-error)
|
|
|
|
(key-chord-define evil-normal-state-map "rl" 'next-error)
|
2012-12-18 05:48:12 +00:00
|
|
|
|
2012-12-21 21:06:22 +00:00
|
|
|
(provide 'keybindings)
|