evil
evil copied to clipboard
Behaviour discrepency with vim when invoking interactive shell commands
Issue type
- Enhancement request
Environment
Emacs version: 28.2 Operating System: NixOS x86_64 Evil version: 1.15.0 Evil installation type: MELPA Graphical/Terminal: Graphical
Reproduction steps
- Start Emacs
- M-x evil-mode
- Write a python "hello world" program
- Go to (evil) normal model.
- type
:! python -i %
.
Expected behavior
Similar to vim, it should launch an interactive shell.
Actual behavior
A read only buffer.
Note that, if using :! python -i % &
, then it's closer to the more desirable behavior.
Further notes
Reddit thread about this: https://www.reddit.com/r/emacs/comments/150zmsx/evilmode_question_ghci_does_not_start_a_terminal/