From 39fb4dbba7305a217e598a624283db214c634fb8 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Mon, 3 Aug 2020 12:32:03 -0400 Subject: [PATCH] Silicon vnoremap --- vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) 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://|"')