Commit Graph

38 Commits

Author SHA1 Message Date
Conrad Irwin
c4c639f3ca
Merge pull request #35 from mmjo/master
going out of bracketed paste before going out of raw mode
2018-05-22 08:40:38 -07:00
mmjo
d3c8f789c5 going out of bracketed paste before going out of raw mode 2018-05-22 14:57:27 +02:00
Conrad Irwin
90051e40cc
Merge pull request #34 from cakturk/master
Remove unused variable 'g:bracketed_paste_tmux_wrap'
2017-11-19 15:57:30 -08:00
Cihangir Akturk
bdb83427f5 Add include guard at the beginning of script
No need to re-load the plugin if it has already been loaded. If you have
a specific reason to do so, just do

  ':unlet g:loaded_bracketed_paste'

and then try to reload it.

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
2017-11-18 23:09:56 +03:00
Cihangir Akturk
10f6b62ab0 Get rid of unused variable 'g:bracketed_paste_tmux_wrap'
Remove unused variable 'g:bracketed_paste_tmux_wrap', and
the test for its existence.

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
2017-11-18 22:13:44 +03:00
Conrad Irwin
363f9b62d3 Get rid of tmux code [Fixes #32] 2017-09-01 11:23:22 -07:00
Conrad Irwin
535c3c1aae Merge pull request #30 from nkcfan/nkcfan/tmux2
Revert "Merge pull request #21 from Ekleog/master"
2017-02-22 10:41:44 -08:00
nkcfan
ab571a1863 Revert "Merge pull request #21 from Ekleog/master"
This reverts commit 765e757dbc, reversing
changes made to 148df8cb26.
2017-02-22 06:37:47 +00:00
Conrad Irwin
96451c8e12 Merge pull request #19 from liotier/patch-1
Corrects path form Pathogen on Github
2017-01-21 18:09:24 -08:00
Conrad Irwin
d26cf23bbf ++license 2016-08-31 10:10:12 -07:00
Conrad Irwin
765e757dbc Merge pull request #21 from Ekleog/master
Support newer tmux versions
2016-02-17 01:10:59 -05:00
Léo Gaspard
475f337b5f
Support newer tmux versions
First, it should not break anything: according to tmux's ChangeLog, then tmux
support for bracketed-paste mode dates back to 1.7.

Then, on my (tmux 2.1) system, WrapForTmux actually makes the char codes be
ignored, and a tmux error file is written. I couldn't find a trace in tmux's
ChangeLog as to when this occured, and so went with switching on the major tmux
version.
2016-02-17 03:11:49 +01:00
Conrad Irwin
148df8cb26 Merge pull request #20 from ssiegel/keep-enabled
Keep bracketed paste enabled in normal and visual mode
2016-02-08 16:28:14 -08:00
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
Jean-Marc Liotier
c2cd898d6d Corrects path form Pathogen on Github 2016-01-11 15:40:21 +01:00
Conrad Irwin
36779ba3b1 Merge pull request #16 from rwstauner/disable-tmux-wrap
Allow disabling tmux wrap with global var
2015-01-02 10:31:35 -08: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
dda9344173 Merge pull request #15 from ConradIrwin/revert-13-patch-1
Revert "Check for empty $TMUX variable"
2014-12-06 20:59:08 -08:00
Conrad Irwin
108f37fc0c Revert "Check for empty $TMUX variable" 2014-12-06 20:58:56 -08:00
Conrad Irwin
639184fbb5 Merge pull request #13 from toupeira/patch-1
Check for empty $TMUX variable
2014-12-04 13:03:06 -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
Conrad Irwin
6a84dd326d Update README.md 2014-11-10 10:12:58 -08:00
Conrad Irwin
455989e5bb Merge pull request #12 from akkartik/master
drop check for terminals
2014-11-10 10:12:22 -08: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
Conrad Irwin
4be92ef5e0 Merge pull request #11 from valeriangalliat/master
Support rxvt*
2014-08-30 13:14:25 -07:00
Valérian Galliat
7e1aa9ff2a Support rxvt* 2014-08-30 13:43:00 +02:00
Conrad Irwin
bfa0b182a1 Merge pull request #8 from denilsonsa/patch-1
Improving README.md
2014-07-10 13:17:03 -07:00
Denilson Figueiredo de Sá
dd82b5746a Improving README.md
Added more details about how it works (based on `$TERM` variable and only works on *insert mode*). Closes #7.
2014-07-10 15:58:55 -03:00
Conrad Irwin
7b88e4565e Use <f29> consistently 2014-04-26 14:08:24 -05:00
Conrad Irwin
d7e6f2302f Merge branch 'master' of github.com:vellvisher/vim-bracketed-paste 2014-04-26 14:01:35 -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
Conrad Irwin
3a077bdc63 Merge pull request #3 from renajohn/master
Added support for tmux
2014-01-29 00:21:26 -08:00
Renault John Lecoultre
2523defcb6 Added support for tmux 2014-01-29 09:16:46 +01:00
Conrad Irwin
11f53fd930 Merge pull request #1 from stephenrjohnson/master
Allow this to work inside a screen session
2014-01-14 09:58:56 -08: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
447fce01b1 tweak readme 2013-04-10 14:38:14 -07:00
Conrad Irwin
46bb985dc7 vim-bracketed-paste! 2013-04-07 16:57:25 -07:00