Emacs - config
[dotfiles.git] / emacs.d / config.org
index dc87733..d71d28b 100644 (file)
@@ -870,12 +870,12 @@ Always indents header, and hide header leading starts so that no need type =#+ST
     :features ob-racket)
 
   ;; Lua support
-  ;(use-package ob-lua
-  ;  :ensure t)
+;;  (use-package ob-lua
+;;    :ensure t)
 
   ;; use current window for org source buffer editting
 
-  (setq org-src-window-setup 'current-window )
+  ;; (setq org-src-window-setup 'current-window)
   (define-key org-mode-map (kbd "C-'") nil)
   ;; C-M-i is mapped to imenu globally
   (define-key org-mode-map (kbd "C-M-i") nil)
@@ -894,7 +894,7 @@ Always indents header, and hide header leading starts so that no need type =#+ST
                                  (latex . t)
                                  (java . t)
                                  (ruby . t)
-  ;                               (lua . t)
+;                                 (lua . t)
                                  (lisp . t)
                                  (scheme . t)
                                  (racket . t)
@@ -1595,7 +1595,13 @@ Refer [[https://github.com/abo-abo/hydra/blob/master/hydra-examples.el][hydra-ex
     ("d" ace-delete-window "Delete"  :exit t)
     ("x" sd/exchange-win-layout "eXchange"  :exit t)
     ("u" winner-undo "window-Undo"  :exit t)
-    ("r" winner-redo "window-Redo"  :exit t))
+    ("r" winner-redo "window-Redo"  :exit t)
+    ("C-h" (lambda () (interactive) (evil-window-increase-width 3)) "<<")
+    ("C-l" (lambda () (interactive) (evil-window-decrease-width 3)) ">>")
+    ("C-k" (lambda () (interactive) (evil-window-increase-height 3)) "^")
+    ("C-j" (lambda () (interactive) (evil-window-decrease-height 3)) "v")
+    ("=" balance-windows "=" :exit t)
+    ("q" nil "quit"))
 
   (defhydra sd/hydra-gtags (:color red :colums nil)
     "ggtags - global"