diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 00:16:55 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 00:16:55 +1300 |
commit | 0a717e403db652ca602603617642d8bc7de7e9bb (patch) | |
tree | e2be9751fd22fe7cc3f19f44c48d20531fe66cdd /vim/doc/copy_linebreak.txt | |
parent | Merge branch 'release/v0.14.0' (diff) | |
parent | Bump version number to 0.15.0 (diff) | |
download | dotfiles-ee751bcd3c3fa19c41368f244c7fdb3851736491.tar.gz (sig) dotfiles-ee751bcd3c3fa19c41368f244c7fdb3851736491.zip |
Merge branch 'release/v0.15.0'v0.15.0
* release/v0.15.0: (24 commits)
Bump version number to 0.15.0
Limit \f mapping to normal mode
Move 'hlsearch' insert-mode suspension into plugin
Separate g:loaded/&cp tests from feat tests
Use :set not :setlocal for 'hlsearch'/'incsearch'
Correct nonexistent 'wildmode' value in Vim config
Document each 'backspace' flag in Vim config
Mention req of toggle_option_flag.vim
Adjust first sentence of format_option_toggle.txt
Add help links to toggle_option_flag.vim interface
Flesh out strip_trailing_whitespace.vim help
Specify type of example in mail_mutt.vim doc
Adjust layout of headings/links in Vim plugin help
Flesh out fixed_join.vim interface documentation
Add help tag for detect_background.vim function
Flesh out copy_linebreak.vim interface docs
Remove nonexistent keyword references from Vim doc
Move Vim doc requirement to correct section
Apply boilerplate to Vim plugin docs
Update and correct detect_background.vim help
...
Diffstat (limited to 'vim/doc/copy_linebreak.txt')
-rw-r--r-- | vim/doc/copy_linebreak.txt | 57 |
1 files changed, 44 insertions, 13 deletions
diff --git a/vim/doc/copy_linebreak.txt b/vim/doc/copy_linebreak.txt index 15e4b1b0..7efbad4b 100644 --- a/vim/doc/copy_linebreak.txt +++ b/vim/doc/copy_linebreak.txt @@ -1,25 +1,56 @@ -*copy_linebreak.txt* Mapping to toggle copy-paste friendly linebreak options +*copy_linebreak.txt* For Vim version 7.0 Last change: 2017 November 12 -Author: Tom Ryder <tom@sanctum.geek.nz> -License: Same terms as Vim itself (see |license|) +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. -Mappings: +REQUIREMENTS *copy_linebreak-requirements* - <Plug>CopyLinebreakEnable - <Plug>CopyLinebreakDisable - <Plug>CopyLinebreakToggle +This plugin is only available if 'compatible' is not set. -Commands: +MAPPINGS *copy_linebreak-mappings* - :CopyLinebreakEnable - :CopyLinebreakDisable - :CopyLinebreakToggle +Mapping targets provided are: -This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun +|<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 targers; you should define +them yourself in your |vimrc|. For example: +> + :nmap <Leader>b <Plug>CopyLinebreakToggle + +COMMANDS *copy_linebreak-commands* + +If the |+user_commands| feature is available, commands provided are: +> +`:CopyLinebreakEnable`: *:CopyLinebreakEnable* + Enable copy-paste friendly line break options. +`:CopyLinebreakDisable`: *:CopyLinebreakDisable* + Revert to human-readable line break options. +`:CopyLinebreakToggle`: *:CopyLinebreakToggle* + Toggle between the above two states. + +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|). + +DISTRIBUTION *copy_linebreak-distribution* + +This plugin lives in Tom Ryder's "dotfiles" suite, and may eventually be spun off into a separate distribution as it solidifies and this documentation -improves. +improves. See <https://sanctum.geek.nz/cgit/dotfiles.git/about/> for more +information. + + vim:tw=78:ts=8:ft=help:norl: |