sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

Terminus : Enhanced terminal integration for Vim

 script karma  Rating 11/5, Downloaded by 741    Comments, bugs, improvements  Vim wiki

created by
Greg Hurrell
script type
Terminus enhances Vim's integration with the terminal in four ways,
particularly when using tmux (https://tmux.github.io/) and iTerm
(https://www.iterm2.com/), closing the gap between terminal and GUI Vim:

1. Cursor shape change in insert mode ~

In insert mode, the cursor shape changes to a thin vertical bar. On leaving
inset mode, it reverts to the standard "block" shape.

2. Improved mouse support ~

Activates 'mouse' support in all modes and additionally tries to activate
|sgr-mouse| support, which allows the mouse to work "even in columns beyond

3. Focus reporting ~

Allows Vim to receive |FocusGained| and |FocusLost| events, even in the
terminal and inside tmux. This is in turn used to fire the |:checktime|
command, which, in conjunction with the 'autoread', allows Vim to
automatically pick up changes made by other processes when switching to and
from Vim.

4. "Bracketed Paste" mode ~

Sets up "Bracketed Paste" mode, which means you can forget about manually
setting the 'paste' option and simply go ahead and paste in any mode.
install details

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
terminus-1.3.zip 1.3 2017-06-06 7.0 Greg Hurrell - Add support for Neovim.
terminus-1.2.zip 1.2 2017-03-21 7.0 Greg Hurrell - Reduce delay on leaving insert mode to 10ms.
- Work-around lag for focus/blur events caused by creation and destruction of
  tmux splits.
- Tweak insert mode mappings to work correctly when omni completion is
  active (https://github.com/wincent/terminus/pull/18).
terminus-1.2.zip 1.1 2016-07-14 7.0 Greg Hurrell - Use non-deprecated escape sequences when running on sufficiently recent
  versions of iTerm.
terminus-1.0.1.zip 1.0.1 2016-01-30 7.0 Greg Hurrell - Correctly guard against Terminus being loaded multiple times.
terminus-1.0.zip 1.0 2015-12-28 7.0 Greg Hurrell - Silence unwanted "No matching autocommands" output on gaining/losing focus
  in normal mode.
terminus-0.4.zip 0.4 2015-10-15 7.0 Greg Hurrell - Enabled support for KDE Konsole (patch from Jan Christoph Ebersbach).
- Added |g:TerminusReplaceCursorShape| and made cursor shape substition work
  with VTE terminals such as gnome-terminal (patch from Jan Christoph
- Fixed bug where file modelines were being inappropriately evaluated when on
  |FocusGained| and |FocusLost| events.
- Added guard for "Unknown option: t_SR" for older versions of Vim (patch from
  Joe Lencioni).
- Added support for "tmux" `TERM` type.
terminus-0.2.zip 0.2 2015-07-24 7.0 Greg Hurrell - Added |g:TerminusInsertCursorShape| and |g:TerminusNormalCursorShape|
  settings for selecting among "bar", "block" and "underline" cursor shapes.
terminus-0.1.zip 0.1 2015-07-06 7.0 Greg Hurrell Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo