Silicon vnoremap
This commit is contained in:
parent
f83341bf4a
commit
39fb4dbba7
1 changed files with 5 additions and 0 deletions
|
@ -176,6 +176,11 @@ autocmd VimEnter * RainbowParentheses
|
||||||
let g:rainbow#blacklist = [248]
|
let g:rainbow#blacklist = [248]
|
||||||
let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']]
|
let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']]
|
||||||
|
|
||||||
|
" silicon remaps
|
||||||
|
if executable("silicon")
|
||||||
|
vnoremap <Leader>c :'<,'>w !silicon -c -l%:e<CR>
|
||||||
|
endif
|
||||||
|
|
||||||
function! s:transformed_url(url)
|
function! s:transformed_url(url)
|
||||||
let l:rv = a:url
|
let l:rv = a:url
|
||||||
let l:rv = system("echo " . l:rv . ' | sed "s|:|/|" | sed "s|git@|https://|"')
|
let l:rv = system("echo " . l:rv . ' | sed "s|:|/|" | sed "s|git@|https://|"')
|
||||||
|
|
Loading…
Add table
Reference in a new issue