summaryrefslogtreecommitdiff
path: root/README.org
blob: 6e05a1091fc8145b8f07385638975f6027656979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#+TITLE: evil-org-mode

# What will be evil org without an org Readme?

Supplemental evil-mode key-bindings to Emacs org-mode. This is a work in progress, expect improvements and don't be afraid to contribute patches.

* Requirements

- org-mode, git://repo.or.cz/org-mode.git
- evil-mode, git://gitorious.org/evil/evil.git
- evil-leader, git://github.com/cofi/evil-leader.git

* Installation

#+BEGIN_SRC sh
  mkdir -p ~/.emacs.d/plugins; git clone git://github.com/edwtjo/evil-org-mode.git ~/.emacs.d/plugins/evil-org-mode
#+END_SRC

** emacs.el

#+begin_src emacs-lisp
    (add-to-list 'load-path "~/.emacs.d/plugins/evil-org-mode")
    (require 'evil-org)
#+end_src

* Keys
Here are the keys introduced by evil-org

  | gh  | outline-up-heading                         |
  | gj  | org-forward-heading-same-level             |
  | gk  | org-backward-heading-same-level            |
  | gl  | outline-next-visible-heading               |
  | t   | org-todo                                   |
  | T   | org-insert-todo-heading nil                |
  | H   | org-beginning-of-line                      |
  | L   | org-end-of-line                            |
  | ;t  | org-show-todo-tree                         |
  | o   | always-insert-item                         |
  | O   | org-insert-heading                         |
  | '$' | org-end-of-line                            |
  | '^' | org-beginning-of-line                      |
  | <   | org-metaleft                               |
  | >   | org-metaright                              |
  | ;a  | org-agenda                                 |
  |-----+--------------------------------------------|
  | TAB | org-cycle                                  |
  | M-l | org-metaright                              |
  | M-h | org-metaleft                               |
  | M-k | org-metaup                                 |
  | M-j | org-metadown                               |
  | M-L | org-shiftmetaright                         |
  | M-H | org-shiftmetaleft                          |
  | M-K | org-shiftmetaup                            |
  | M-J | org-shiftmetadown                          |
  | M-o | org-insert-heading+org-metaright           |
  | M-t | org-insert-todo-heading nil+ org-metaright |

* License

Gnu General Public License v3.0, http://www.gnu.org/copyleft/gpl.html