Mouse support for vi, vim, and emacs in SecureCRT®
If supported by the remote application, the mouse can be used to position the SecureCRT terminal emulator cursor within the emulation window. Using the mouse with remote applications such as vi/vim or emacs requires SecureCRT to be configured with the appropriate emulation settings to convince the remote editor/application that it should send Xterm escape sequences for mouse control.
On the Terminal / Emulation page of the SecureCRT Session Options dialog, set the emulation to Xterm.
Make sure the value of the Terminal type option in the Terminal / Emulation / Advanced category is not enabled.
If you made the above changes while you were already connected to the remote machine, reconnect to the remote machine in order for the remote system to be made aware of the current terminal configuration.
Once you have configured SecureCRT as described, you will need to set the corresponding mouse option within the remote application/editor.
For vi/vim, enter command mode by pressing the ESC key. Enter the following command:
For emacs, enter command mode by pressing Meta/ALT+X. Enter the following command:
With mouse mode enabled, you can click with the mouse and position the cursor instead of using the arrow keys. You can also select text with the mouse, if supported by the remote application.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.