purcell / exec-path-from-shell

Make Emacs use the $PATH set up by the user's shell
Other
1.43k stars 82 forks source link

run vim in emacs term mode #58

Closed earthIsAPrisonIfYouNotAwareItCanNotOut closed 7 years ago

earthIsAPrisonIfYouNotAwareItCanNotOut commented 7 years ago

I have tried to run vim in emacs many times the result is also can't be satisfied for me I check the variable in term mode echo $TERM it print out eterm-color then the same step for mac terminal echo $TERM it print out xterm-256color


something I already use this package to add TERM variable

purcell commented 7 years ago

$TERM allows the terminal program (e.g. vim) to look up the capabilities of the terminal it is running in. If you override it, it won't have the effect you want.

This is not a problem with exec-path-from-shell, because term-mode sets $TERM explicitly. If you want to change its value, modify the variable term-term-name.