turn off comint insert-goes-to-end-of-line feature (this was never a
good idea)
This commit is contained in:
parent
58673f3f0f
commit
e035ff9c64
10
conf.org
10
conf.org
|
@ -3481,11 +3481,11 @@ Comint-based inferior modes often are not evil (eg =intero= and =ESS=). Configur
|
||||||
**** interactive functions
|
**** interactive functions
|
||||||
Some common interactive functions for comint-based modes
|
Some common interactive functions for comint-based modes
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun nd/comint-char-mode-evil-insert ()
|
;; (defun nd/comint-char-mode-evil-insert ()
|
||||||
"If not at the last line, go to the end of the buffer and enter insert mode. Else just enter insert mode."
|
;; "If not at the last line, go to the end of the buffer and enter insert mode. Else just enter insert mode."
|
||||||
(interactive)
|
;; (interactive)
|
||||||
(if (/= (line-number-at-pos (point)) (line-number-at-pos (point-max)))
|
;; (if (/= (line-number-at-pos (point)) (line-number-at-pos (point-max)))
|
||||||
(goto-char (point-max))))
|
;; (goto-char (point-max))))
|
||||||
|
|
||||||
(defun nd/comint-send-input-evil-insert (&optional send-input-cmd)
|
(defun nd/comint-send-input-evil-insert (&optional send-input-cmd)
|
||||||
"Go into insert mode after calling SEND-INPUT-CMD which is usually
|
"Go into insert mode after calling SEND-INPUT-CMD which is usually
|
||||||
|
|
Loading…
Reference in New Issue