summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2015-12-01 09:43:54 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2015-12-01 09:43:54 +0100
commitf9c3257377301cc3878f67c990daeadb9c7e4ca1 (patch)
tree8508429a9c706fea18be300cdd176059b744ffef
parenta6c2891ac6baf2bb6769b38071abb9d3f3c28edf (diff)
parent4d7251202572c62c2cfc3d780717771675486598 (diff)
Merge pull request #27 from adrsta/master
fixed shift+hjkl mappings for consistency
-rw-r--r--README.org6
-rw-r--r--evil-org.el6
2 files changed, 8 insertions, 4 deletions
diff --git a/README.org b/README.org
index b957dde..805fc15 100644
--- a/README.org
+++ b/README.org
@@ -30,8 +30,10 @@ Here are the keys introduced by evil-org
| gl | outline-next-visible-heading |
| t | org-todo |
| T | org-insert-todo-heading nil |
- | H | org-beginning-of-line |
- | L | org-end-of-line |
+ | H | org-shiftleft |
+ | J | org-shiftdown |
+ | K | org-shiftup |
+ | L | org-shiftright |
| o | always-insert-item |
| O | org-insert-heading |
| '$' | org-end-of-line |
diff --git a/evil-org.el b/evil-org.el
index 46d31c2..42d7598 100644
--- a/evil-org.el
+++ b/evil-org.el
@@ -132,8 +132,10 @@ FUN function callback"
"gl" 'outline-next-visible-heading
"t" 'org-todo
"T" '(lambda () (interactive) (evil-org-eol-call (lambda() (org-insert-todo-heading nil))))
- "H" 'org-beginning-of-line
- "L" 'org-end-of-line
+ "H" 'org-shiftleft
+ "J" 'org-shiftdown
+ "K" 'org-shiftup
+ "L" 'org-shiftright
"o" '(lambda () (interactive) (evil-org-eol-call 'clever-insert-item))
"O" '(lambda () (interactive) (evil-org-eol-call 'org-insert-heading))
"$" 'org-end-of-line