View cvim.rc
| " Scroll settings | |
| unmap e s w " Unmap extra scroll bindings | |
| map ^ scrollToLeft | |
| " Misc settings | |
| unmap r zr gR cr " Unmap reload bindings | |
| unmap ge gd " Unmap downloads and extension pages | |
| " Tab settings | |
| unmap gt K R gT J E " Just use <C-h> and <C-l> to navigate tabs |
View gist:5c8f862b4496b41dc681
| \b(https?:\/\/)?((?:www\.)?((?:[^\s.,;()\/]+\.)+[^\s$_!*()$&.,;=?+\/\#]+)((?:\/|\?|\/\?)[^\s#^`{}<>?"\[\]\/\|]+)*\/?(#[^\s#%^`{}<>?"\[\]\/\|]*)?) | |
| // Should be used with /i flag as well as the /g flag if looking for multiple matches | |
| // Notes: | |
| // Ignores schemes other than http(s). | |
| // Captures emails as otherwise it would match the `gmail.com` in `[email protected]`, | |
| // producing (what I think is) more surprising behaviour than the alternative. | |
| // | |
| // Produces some false positives on tests from https://mathiasbynens.be/demo/url-regex, |