Commit Graph

12 Commits

Author SHA1 Message Date
Stefan Siegel
fd01b5d333 Keep bracketed paste enabled in normal and visual mode
The mappings are already in place, but are unused without this change.
In command line mode the escape sequences are mapped to <nop>, so they
will be ignored and keeping bracketed paste enabled all the time should
cause no trouble.
2016-02-09 00:48:06 +01:00
Randy Stauner
f821200c04 Allow disabling tmux wrap with global var
Make it configurable for cases where it isn't detectable.
2015-01-01 20:37:00 -07:00
Conrad Irwin
108f37fc0c Revert "Check for empty $TMUX variable" 2014-12-06 20:58:56 -08:00
Markus Koller
1c08bafec6 Check for empty $TMUX variable
In some situations, like when running vim with sudo, $TMUX exists() for some reason but is empty.
2014-12-04 21:59:11 +01:00
Kartik K. Agaram
baa5669ff6 drop check for terminals
From the original author:

  "Note that this only enables bracketed paste mode when the $TERM value
  starts with "xterm".. you could omit the test altogether, since it
  isn’t strictly necessary—it’s just trying to be careful not to do
  something that might be incompatible with some other terminal type."
  (http://stackoverflow.com/questions/5585129/pasting-code-into-terminal-window-into-vim-on-mac-os-x/7053522#7053522)

Since we don't understand yet if this is a problem, I recommend dropping
the check and seeing if it comes back to bite us. Should be safe since
vim has undo.

(My machine has term set to 'linux', and I'm reluctant to keep adding
clauses to that check.)
2014-09-24 11:22:50 -07:00
Valérian Galliat
7e1aa9ff2a Support rxvt* 2014-08-30 13:43:00 +02:00
Conrad Irwin
7b88e4565e Use <f29> consistently 2014-04-26 14:08:24 -05:00
Vaarnan Drolia
3cca2bdb64 Remove the escape delay when trying to exit insert mode using the escape key 2014-04-25 01:15:58 +08:00
Renault John Lecoultre
2523defcb6 Added support for tmux 2014-01-29 09:16:46 +01:00
Stephen
f1ed7e4d0e allow this inside screen as well 2014-01-14 14:38:42 +00:00
Conrad Irwin
895b79ae0f function! so you can reload the file multiple times. 2013-07-20 17:27:17 -07:00
Conrad Irwin
46bb985dc7 vim-bracketed-paste! 2013-04-07 16:57:25 -07:00