diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 13:00:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-12 13:00:15 +1200 |
commit | 4d189176359f23318cb46386d4140cd7fc629124 (patch) | |
tree | 31d3bf63b01c38d252c94fb7e20754f75369358a | |
parent | Merge branch 'release/0.5.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-copy-linebreak-4d189176359f23318cb46386d4140cd7fc629124.tar.gz vim-copy-linebreak-4d189176359f23318cb46386d4140cd7fc629124.zip |
Merge branch 'release/v0.6.0'v0.6.0
* release/v0.6.0:
Bump VERSION
Parenthesize plugin maps
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/copy_linebreak.txt | 8 | ||||
-rw-r--r-- | plugin/copy_linebreak.vim | 6 |
3 files changed, 8 insertions, 8 deletions
@@ -1 +1 @@ -0.5.0 +0.6.0 diff --git a/doc/copy_linebreak.txt b/doc/copy_linebreak.txt index 09961cb..6b87bd8 100644 --- a/doc/copy_linebreak.txt +++ b/doc/copy_linebreak.txt @@ -16,17 +16,17 @@ MAPPINGS *copy_linebreak-mappings* Mapping targets provided are: -|<Plug>CopyLinebreakEnable|: *<Plug>CopyLinebreakEnable* +|<Plug>(CopyLinebreakEnable)|: *<Plug>(CopyLinebreakEnable)* Enable copy-paste friendly line break options. -|<Plug>CopyLinebreakDisable|: *<Plug>CopyLinebreakDisable* +|<Plug>(CopyLinebreakDisable)|: *<Plug>(CopyLinebreakDisable)* Revert to human-readable line break options. -|<Plug>CopyLinebreakToggle|: *<Plug>CopyLinebreakToggle* +|<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 + nmap <Leader>b <Plug>(CopyLinebreakToggle) < AUTHOR *copy_linebreak-author* diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim index ef7e4d2..e437e03 100644 --- a/plugin/copy_linebreak.vim +++ b/plugin/copy_linebreak.vim @@ -47,11 +47,11 @@ endfunction " Provide mappings to the functions just defined noremap <silent> - \ <Plug>CopyLinebreakEnable + \ <Plug>(CopyLinebreakEnable) \ :<C-U>call <SID>CopyLinebreakEnable()<CR> noremap <silent> - \ <Plug>CopyLinebreakDisable + \ <Plug>(CopyLinebreakDisable) \ :<C-U>call <SID>CopyLinebreakDisable()<CR> noremap <silent> - \ <Plug>CopyLinebreakToggle + \ <Plug>(CopyLinebreakToggle) \ :<C-U>call <SID>CopyLinebreakToggle()<CR> |