diff --git a/vim/vimrc b/vim/vimrc index 5d13efa..19fab4a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -176,6 +176,11 @@ autocmd VimEnter * RainbowParentheses let g:rainbow#blacklist = [248] let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']] +" silicon remaps +if executable("silicon") + vnoremap c :'<,'>w !silicon -c -l%:e +endif + function! s:transformed_url(url) let l:rv = a:url let l:rv = system("echo " . l:rv . ' | sed "s|:|/|" | sed "s|git@|https://|"')