All Questions
3 questions
1
vote
0
answers
636
views
Disable evil-mode in eshell
I have disabled evil-mode in eshell by (evil-set-initial-state 'eshell-mode 'emacs) but when I switch windows(accidentally) using C-w k from eshell, evil-mode gets enabled.
How do I prevent this ...
0
votes
2
answers
785
views
In shell, eshell and comint-modes, the cursor moves back one chacacter when I switch buffers
When I'm in a shell and I change buffers, if I switch back to the shell buffer, the cursor has moved back a character and I can't start typing new shell commands until I hit -> first.
This happens ...
4
votes
1
answer
543
views
How does comint-mode override beginning of line behavior? I want same functionality to eshell
My Emacs version is 24.5.1.
Comint-mode protects the prompt by somehow defining the beginning of line to start directly after the prompt regex. This works for normal motion commands like move-...