diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 21:01:17 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 21:01:17 +1200 |
commit | da09c821a3f690cfa738306269605e53f4d22a37 (patch) | |
tree | 9663c3539238e29d44dd9986cebf1d903261d42f | |
parent | Move code out to autoload functions (diff) | |
download | vim-copy-linebreak-da09c821a3f690cfa738306269605e53f4d22a37.tar.gz vim-copy-linebreak-da09c821a3f690cfa738306269605e53f4d22a37.zip |
Add missing mode prefix 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 43018f1..8089bd7 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 -noremap <silent> +nnoremap <silent> \ <Plug>(CopyLinebreakEnable) \ :<C-U>call copy_linebreak#Enable()<CR> -noremap <silent> +nnoremap <silent> \ <Plug>(CopyLinebreakDisable) \ :<C-U>call copy_linebreak#Disable()<CR> -noremap <silent> +nnoremap <silent> \ <Plug>(CopyLinebreakToggle) \ :<C-U>call copy_linebreak#Toggle()<CR> |