Skip to main content
added 1 characters in body
Source Link
Amelio Vazquez-Reina
  • 43.1k
  • 81
  • 212
  • 300

Say I have multiple windows open in Emacs 24.1 and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run modeTerm: line run, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line modeTerm: char run when I switch to a window in Emacs with an ansi-term terminal?

Say I have multiple windows open in Emacs 24.1 and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run mode, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line mode when I switch to a window in Emacs with an ansi-term terminal?

Say I have multiple windows open in Emacs 24.1 and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates Term: line run, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to Term: char run when I switch to a window in Emacs with an ansi-term terminal?

added 9 characters in body
Source Link
Amelio Vazquez-Reina
  • 43.1k
  • 81
  • 212
  • 300

Say I have multiple windows open in Emacs 24.1 and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run mode, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line mode when I switch to a window in Emacs with an ansi-term terminal?

Say I have multiple windows open in Emacs and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run mode, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line mode when I switch to a window in Emacs with an ansi-term terminal?

Say I have multiple windows open in Emacs 24.1 and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run mode, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line mode when I switch to a window in Emacs with an ansi-term terminal?

Source Link
Amelio Vazquez-Reina
  • 43.1k
  • 81
  • 212
  • 300

Emacs: Switching automatically to char-mode when switching to an ansi-term window

Say I have multiple windows open in Emacs and that one of those windows is an M-x ansi-term window with a shell.

By default, when I switch to an ansi-term window, Emacs activates line-run mode, which prevents me from using keyboard shortcuts that work on the shell (e.g. tab completion, etc.).

Is there a way tell Emacs to automatically switch to char-line mode when I switch to a window in Emacs with an ansi-term terminal?