summaryrefslogtreecommitdiff
path: root/rekado-mode.el
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2014-12-01 10:22:59 +0100
committerrekado <rekado@elephly.net>2014-12-01 10:22:59 +0100
commit876026e8624fe350c7e4ebbeb6774c4398ca0c4a (patch)
treed3b883cc7da0bebe4678bc045b64a6446b2a0bf9 /rekado-mode.el
parent1e2797a477f8b162abf60d056ea832b2cb0cb9b9 (diff)
rekado-mode: since I use god-mode I no longer need most of this
Diffstat (limited to 'rekado-mode.el')
-rw-r--r--rekado-mode.el42
1 files changed, 0 insertions, 42 deletions
diff --git a/rekado-mode.el b/rekado-mode.el
index e050fab..e7e4faa 100644
--- a/rekado-mode.el
+++ b/rekado-mode.el
@@ -20,44 +20,9 @@ the edit mode keys will be bound as well."
`(("a" . move-beginning-of-line)
("e" . move-end-of-line)
- ;; define JKLI (HTNC in Dvorak) as arrow keys
- ("c" . previous-line)
- ("t" . next-line)
- ("h" . backward-char)
- ("n" . forward-char)
-
- ;; add meta key to move more quickly
- ("M-c" . (lambda () (interactive)
- (previous-line 5)))
- ("M-t" . (lambda () (interactive)
- (next-line 5)))
- ("M-h" . backward-word)
- ("M-n" . forward-word)
-
- ;; make shifted arrows work with transient-mark-mode
- ("C" . ,(transient-wrap 'previous-line))
- ("T" . ,(transient-wrap 'next-line))
- ("H" . ,(transient-wrap 'backward-char))
- ("N" . ,(transient-wrap 'forward-char))
-
- ("M-C" . ,(transient-wrap
- '(lambda () (interactive) (previous-line 5))))
- ("M-T" . ,(transient-wrap
- '(lambda () (interactive) (next-line 5))))
- ("M-H" . ,(transient-wrap 'backward-word))
- ("M-N" . ,(transient-wrap 'forward-word))
-
- ;; define U/O (G/R in Dvorak) to kill word in direction
- ("G" . backward-kill-word)
- ("R" . kill-word)
-
;; jump to character
("f" . ace-jump-char-mode)
("i" . rekado-permanent-mode-exit)
- ("k" . (lambda ()
- (interactive)
- (move-beginning-of-line nil)
- (kill-whole-line)))
;; undo as in vim
("u" . undo)
;; repeat as in vim
@@ -72,11 +37,6 @@ the edit mode keys will be bound as well."
(interactive)
(beginning-of-line)
(yank)))
- ;; TODO: replace single character as in vim
- ;;("r" . forward-word)
- ;; copy as in vim
- ("y" . kill-ring-save)
- ("s" . isearch-forward-regexp)
;; open line below/above as in vim
("o" . (lambda ()
(interactive)
@@ -95,8 +55,6 @@ the edit mode keys will be bound as well."
(interactive)
(kill-line)
(rekado-permanent-mode-exit)))
- ("<" . beginning-of-buffer)
- (">" . end-of-buffer)
)))
(progn
;; toggle permanent mode