emacs : add worf-mode for org-mode
authorPeng Li <seudut@gmail.com>
Wed, 1 Jun 2016 18:27:41 +0000 (02:27 +0800)
committerPeng Li <seudut@gmail.com>
Wed, 1 Jun 2016 18:27:41 +0000 (02:27 +0800)
emacs.d_2/config.org

index 438add5..5b639fa 100644 (file)
@@ -8,15 +8,7 @@ Most config are just copied from [[https://github.com/howardabrams/dot-files][ho
 
 * Basic Settings
 
-** Setting Path
-
-Set the system PATH environment  
-
-#+BEGIN_SRC emacs-lisp :tangle yes :results silent
-
-  (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
-
-#+END_SRC
+** Setting loading Path
 
 Set the emacs load path
 
@@ -237,7 +229,6 @@ improve color for org-mode
 
 #+END_SRC
 
-
 * Org-mode Settings
 
 ** Org-bullets
@@ -281,8 +272,25 @@ Always indents header, and hide header leading starts so that no need type =#+ST
      (sqlite . t)
      (js . t)))
 
+  (setq org-use-speed-commands t
+        org-completion-use-ido t)
+     
+
 #+END_SRC
 
+** Worf Mode
+
+[[https://github.com/abo-abo/worf][worf]] mode is an extension of vi-like binding for org-mode
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (use-package worf
+    :ensure t
+    :commands worf-mode
+    :init (add-hook 'org-mode-hook 'worf-mode))
+
+
+#+END_SRC
 ** Task Management
 
 ** Capture
@@ -415,6 +423,16 @@ I like [[https://github.com/coldnew/linum-relative][linum-relative]], just like
 
 #+END_SRC
 
+* Eshell Setting
+
+Setting PATH environment variable
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
+
+#+END_SRC
+
 * Programming Languages
 
 ** Emacs Lisp