swap the ess history bindings
This commit is contained in:
parent
3f2a4f3bb6
commit
fd2882d6d9
6
conf.org
6
conf.org
|
@ -1673,7 +1673,7 @@ This is somewhat strange because all I really care about is moving between lines
|
||||||
"$" 'end-of-visual-line)
|
"$" 'end-of-visual-line)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** ess
|
*** ess
|
||||||
ESS has not joined the dark side. Configure similarly to term (see below) where insert mode goes into "char-mode" where we can type like a normal terminal
|
ESS has not joined the dark side. Configure similarly to term (see below) where insert mode goes into "char-mode" where I can type like a normal terminal
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'evil-motion-state-modes 'ess-help-mode)
|
(add-to-list 'evil-motion-state-modes 'ess-help-mode)
|
||||||
(add-to-list 'evil-insert-state-modes 'inferior-ess-mode)
|
(add-to-list 'evil-insert-state-modes 'inferior-ess-mode)
|
||||||
|
@ -1694,8 +1694,8 @@ ESS has not joined the dark side. Configure similarly to term (see below) where
|
||||||
(kbd "RET") 'nd/inferior-ess-send-input)
|
(kbd "RET") 'nd/inferior-ess-send-input)
|
||||||
|
|
||||||
(evil-define-key '(normal insert) inferior-ess-mode-map
|
(evil-define-key '(normal insert) inferior-ess-mode-map
|
||||||
(kbd "C-j") 'comint-previous-input
|
(kbd "C-k") 'comint-previous-input
|
||||||
(kbd "C-k") 'comint-next-input)
|
(kbd "C-j") 'comint-next-input)
|
||||||
|
|
||||||
(add-hook 'inferior-ess-mode-hook
|
(add-hook 'inferior-ess-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Loading…
Reference in New Issue