commit 8c19a3b8fdaae7c8201c55d745395828eed19985
parent 2456500250fde9152130e5a78f5a7d380cac4a3e
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 22 Jan 2020 21:37:13 +0100
vim: slight vimcolor ftplugin map modification
Former-commit-id: 929b7e1e19c719ded980a0b87a7819d9f79953f2
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/after/ftplugin/vimcolor.vim b/vim/after/ftplugin/vimcolor.vim
@@ -3,8 +3,8 @@ augroup vimcolor_buffer
autocmd! * <buffer>
autocmd BufWritePost <buffer> silent make | execute 'colorscheme '.expand('%:p:t:r')
augroup END
-vmap <buffer> CH <Plug>Colorizer
-noremap <buffer> CC :ColorClear<CR>
+map <buffer> <leader>CH <Plug>Colorizer
+nnoremap <buffer> <leader>CC :ColorClear<CR>
if exists('b:undo_ftplugin')
let b:undo_ftplugin .= '|setlocal makeprg< '
let b:undo_ftplugin .= '|exe "au! vimcolor_buffer * <buffer>"'