summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomelauw <Somelauw>2017-11-07 20:34:13 +0100
committerSomelauw <Somelauw>2017-11-07 20:34:13 +0100
commit5ffdbf858069b2650dea1c60fcb96efb9669e793 (patch)
treecbf35080df114acb8b50d7475cc7a23665915af2
parentf68c3f8f165925a9bf4b8b7b61ede7ac76671057 (diff)
Remove rsi keytheme
-rw-r--r--doc/changelog.org3
-rw-r--r--evil-org.el18
2 files changed, 2 insertions, 19 deletions
diff --git a/doc/changelog.org b/doc/changelog.org
index 1226289..7094783 100644
--- a/doc/changelog.org
+++ b/doc/changelog.org
@@ -3,7 +3,8 @@
- Simplify implementation of `evil-org-open-above/below`.
- Only continue item lists on first line.
- Add =return= keytheme.
- - Add =calendar= keytheme.
+ - Add =calendar= keytheme.
+ - Remove =rsi= keytheme
* Version 0.9
- Make =I= / =A= ignore ellipses on heading. Also make them respect =org-special-ctrl-a/e=.
- Make it possible for =<= and =>= (renamed to evil-org-</>) to move table columns.
diff --git a/evil-org.el b/evil-org.el
index 1f8ccb4..50f091c 100644
--- a/evil-org.el
+++ b/evil-org.el
@@ -61,7 +61,6 @@ arguments."
(const insert)
(const return)
(const textobjects)
- (const rsi)
(const additional)
(const shift)
(const todo)
@@ -645,22 +644,6 @@ Includes tables, list items and subtrees."
(kbd "C-t") 'org-metaright
(kbd "C-d") 'org-metaleft))
-(defun evil-org--populate-rsi-bindings ()
- "Define key bindings to use in hybrid state."
- (declare (obsolete "Please create a github issue if you want to keep RSI bindings." "0.9.1"))
- (define-key org-mode-map (kbd "C-d")
- (lambda (n)
- (interactive "p")
- (if (and (org-at-heading-or-item-p) (eolp))
- (org-metaleft)
- (org-delete-char n))))
- (define-key org-mode-map (kbd "C-f")
- (lambda (n)
- (interactive "p")
- (if (and (org-at-heading-or-item-p) (eolp))
- (org-metaright)
- (forward-char n)))))
-
(defun evil-org--populate-navigation-bindings ()
"Configures gj/gk/gh/gl for navigation."
(let-alist evil-org-movement-bindings
@@ -761,7 +744,6 @@ Optional argument THEME list of themes. See evil-org-keytheme for a list of valu
(evil-define-key 'insert evil-org-mode-map (kbd "RET") 'evil-org-return)
(define-key evil-org-mode-map (kbd "RET") 'evil-org-return))
(when (memq 'textobjects theme) (evil-org--populate-textobjects-bindings))
- (when (memq 'rsi theme) (evil-org--populate-rsi-bindings))
(when (memq 'additional theme) (evil-org--populate-additional-bindings))
(when (memq 'shift theme) (evil-org--populate-shift-bindings))
(when (memq 'todo theme) (evil-org--populate-todo-bindings))