Bruno Sutic wrote: > I got really excited about one discovery, so I'd like to start a > discussion and see if there is a possible fit into vim's feature > roadmap. > > So, apparently all modern terminals have a feature to tell programs > when something is pasted. > Terminal does this by wrapping the paste content with sequences > \e[200~ and \e[201~. > > Because of this, terminal programs (specifically vim) *could* tell a > difference when something is typed vs pasted. This is nicely > explained in the blog article here: > http://cirw.in/blog/bracketed-paste > > And this is not just theory - the same guy wrote a small plugin that > enables this for vim, link: > https://github.com/ConradIrwin/vim-bracketed-paste (it's less than 30 > lines of viml) > > I tried the plugin and it works great! (I'm on OS X, Terminal.app) > The punch line is: as a terminal vim user, I don't have to use `:set > paste` ever again! > > Now, what do you think: does this feature belong in the "plugin > domain" or should it eventually be part of vim? > > I'm just a user, so I couldn't help with any of that, but I like the > feature so much - maybe my enthusiasm will infect someone else! :)
Sounds useful. Since what version of xterm and screen is this supported? I suspect older versions do not support it. -- BEDEVERE: Look! It's the old man from scene 24 - what's he Doing here? ARTHUR: He is the keeper of the Bridge. He asks each traveler five questions ... GALAHAD: Three questions. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.