blob: 37485589e2b5cd1f794949c0b2e433ea955592d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
*copy_linebreak.txt* For Vim version 7.0 Last change: 2023 March 15
DESCRIPTION *copy_linebreak*
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.
REQUIREMENTS *copy_linebreak-requirements*
This plugin is only available if 'compatible' is not set. It also requires
the |+linebreak| feature.
MAPPINGS *copy_linebreak-mappings*
Mapping targets provided are:
|<Plug>(CopyLinebreakEnable)|: *<Plug>(CopyLinebreakEnable)*
Enable copy-paste friendly line break options.
|<Plug>(CopyLinebreakDisable)|: *<Plug>(CopyLinebreakDisable)*
Revert to human-readable line break options.
|<Plug>(CopyLinebreakToggle)|: *<Plug>(CopyLinebreakToggle)*
Toggle between the above two states.
There are no default key mappings to any of these targets; you should define
them yourself in your |vimrc|. For example:
>
nmap <Leader>b <Plug>(CopyLinebreakToggle)
<
AUTHOR *copy_linebreak-author*
Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
LICENSE *copy_linebreak-license*
Licensed for distribution under the same terms as Vim itself (see |license|).
vim:tw=78:ts=8:ft=help:norl:
|