a guest Aug 14th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- func! RegionMakeBold()
- hi MyBold gui=bold
- let l_start = getpos("'<")
- let l_end = getpos("'>")
- let c_start = getpos("'<")
- let c_end = getpos("'>")+1
- execute 'syntax region MyBold start=/%'.l_start.'l%'.c_start.'c/ end=/%'.l_end.'l%'.c_end.'c/'
- vnoremap <leader>b :<C-U>call RegionMakeBold()<CR>
RAW Paste Data