diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 21:02:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 21:02:27 +1200 |
commit | c4c4ef43629711dc6d124e7ad999c13ec036e7e9 (patch) | |
tree | 7a0922b83c3e8ffb4f9eed7da62f729255f11fbb | |
parent | Add missing mode prefix to maps (diff) | |
download | vim-copy-linebreak-c4c4ef43629711dc6d124e7ad999c13ec036e7e9.tar.gz vim-copy-linebreak-c4c4ef43629711dc6d124e7ad999c13ec036e7e9.zip |
Add <unique> attribute to maps
-rw-r--r-- | plugin/copy_linebreak.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/copy_linebreak.vim b/plugin/copy_linebreak.vim index 8089bd7..76d9228 100644 --- a/plugin/copy_linebreak.vim +++ b/plugin/copy_linebreak.vim @@ -11,12 +11,12 @@ endif let loaded_copy_linebreak = 1 " Provide mappings to the functions just defined -nnoremap <silent> +nnoremap <silent> <unique> \ <Plug>(CopyLinebreakEnable) \ :<C-U>call copy_linebreak#Enable()<CR> -nnoremap <silent> +nnoremap <silent> <unique> \ <Plug>(CopyLinebreakDisable) \ :<C-U>call copy_linebreak#Disable()<CR> -nnoremap <silent> +nnoremap <silent> <unique> \ <Plug>(CopyLinebreakToggle) \ :<C-U>call copy_linebreak#Toggle()<CR> |