-
Notifications
You must be signed in to change notification settings - Fork 0
/
.urlview
34 lines (29 loc) · 1.18 KB
/
.urlview
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
###############################################################################
# Urlview configuration file.
# man urlview <Man page>
#
# Put this file in: $HOME/.urlview
# Put url_handler.sh in: /usr/bin
#
# You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys.
# Put these macros in your $HOME/.muttrc file.
#
# macro index \cb |urlview\n
# macro pager \cb |urlview\n
#
# You can call 'urlview' while in 'tin' by pressing | then a for article,
# put urlview as the pipe command.
#
# Regular expression to use to match URLs.
# REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
# REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
REGEXP (((http|https|ftp|gopher|gemini)|mailto):(//)?[^ <>"\t]*|(www|ftp)[0-9]?\.[-a-z0-9.]+)[^ .,;\t\n\r<">\):]?[^, <>"\t]*[^ .,;\t\n\r<">\):]
# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh
# shell script. Alternatively, you can leave COMMAND unset and set the BROWSER
# environment variable instead.
#COMMAND lynx %s
#COMMAND netscape -remote 'openURL(%s)'
#COMMAND url_handler.sh
COMMAND ~/.local/bin/url_handler.sh %s
WRAP yes
# QUITONLLAUNCH