Terminus : Enhanced terminal integration for Vim
| script karma
Downloaded by 784
Comments, bugs, improvements
|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
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.
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.104.22.168
||- Add support for Neovim.
||- Reduce delay on leaving insert mode to 10ms.
- Work-around lag for focus/blur events caused by creation and destruction of
- Tweak insert mode mappings to work correctly when omni completion is
||- Use non-deprecated escape sequences when running on sufficiently recent
versions of iTerm.
||- Correctly guard against Terminus being loaded multiple times.
||- Silence unwanted "No matching autocommands" output on gaining/losing focus
in normal mode.
||- 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
- Added support for "tmux" `TERM` type.
||- Added |g:TerminusInsertCursorShape| and |g:TerminusNormalCursorShape|
settings for selecting among "bar", "block" and "underline" cursor shapes.