aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-evil.el5
-rw-r--r--.emacs.d/lisp/init-org.el2
2 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el
index 5402cd9..55a42c8 100644
--- a/.emacs.d/lisp/init-evil.el
+++ b/.emacs.d/lisp/init-evil.el
@@ -15,6 +15,11 @@
(evil-define-key 'normal 'global
(kbd "gj") 'evil-next-visual-line
(kbd "gk") 'evil-previous-visual-line)
+ (evil-define-key 'normal text-mode-map
+ (kbd "j") 'evil-next-visual-line
+ (kbd "k") 'evil-previous-visual-line
+ (kbd "gj") 'evil-next-line
+ (kbd "gk") 'evil-previous-line)
(gx/diminish 'evil-mode))
;; evil-collection
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 0ead7cf..c9cd221 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -29,8 +29,6 @@
(kbd "TAB") 'org-cycle
(kbd "RET") 'org-open-at-point
(kbd "H") 'org-toggle-heading
- (kbd "j") 'evil-next-visual-line
- (kbd "k") 'evil-previous-visual-line
(kbd "<leader>r") 'org-refile