Quantcast
Viewing all articles
Browse latest Browse all 28

Answer by studgeek for Turning off auto indent when pasting text into vim

When working inside a terminal the vim-bracketed-paste vim plugin will automatically handle pastes without needing any keystrokes before or after the paste.

It works by detecting bracketed paste mode which is an escape sequence sent by "modern" x-term compatible terminals like iTerm2, gnome-terminal, and other terminals using libvte. As an added bonus it works also for tmux sessions. I am using it successfully with iTerm2 on a Mac connecting to a linux server and using tmux.


Viewing all articles
Browse latest Browse all 28

Trending Articles