sponsor Vim development Vim logo Vim Book Ad

copy_linebreak.vim : Switch between readable and terminal-copy-friendly wrapping options

 script karma  Rating 8/6, Downloaded by 698  Comments, bugs, improvements  Vim wiki

created by
Tom Ryder
 
script type
utility
 
description
This plugin provides mapping targets for a user to set, unset, or toggle 'linebreak'-related settings when 'wrap' is enabled, to switch between human-readable output and a format friendly for copy-pasting with terminal emulators or screen/tmux.

https://sanctum.geek.nz/cgit/vim-copy-linebreak.git
 
install details
Drop autoload/copy_linebreak.vim in your ~/.vim/autoload directory, and plugin/copy_linebreak.vim in your ~/.vim/plugin directory. Add doc/copy_linebreak.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-copy-linebreak-2.0.0.tar.gz 2.0.0 2024-08-07 7.0 Tom Ryder * Complete rewrite of implementation
* Turn off line/column highlighting options too
* Add <unique> attribute to maps
* Add missing mode prefix to maps
* Move code out to autoload functions
* Inline load guard conditionals
* Drop support for Vim 6.x
* Remove unneeded variable scoping
* Switch to two-spacing
ip used for rating: 3.236.112.101

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github