summaryrefslogtreecommitdiff
path: root/gmrunrc
blob: 248e953a4837630a0f317338007dd5a4ba0f504a (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
# gmrun configuration file, using gmrun 0.9.2 on Arch GNU/Linux

# {{{ Terminal
Terminal = urxvt
TermExec = ${Terminal} -e
AlwaysInTerm = ssh telnet ftp links cplay mc pine alpine man irssi screen ipython
# }}}

# {{{ Window
#Top = 300
#Left = 450
Width = 1270
# }}}

# {{{ History
ShowLast = 1
History = 256
# }}}

# {{{ Files
ShowDotFiles = 1
# }}}

# {{{ Keys
TabTimeout = 0
# }}}

# {{{ URL handlers
#   - %u - whole URL ("http://www.google.com")
#   - %s - in "man:printf" %s gets replaced with "printf"
URL_file = rox %s
URL_sh = sh -c '%s'
URL_man = ${TermExec} 'man %s'
URL_info = ${TermExec} 'info %s'
URL_info = ${TermExec} 'info %s'
URL_pd = ${TermExec} 'perldoc %s'
URL_mailto = ${TermExec} 'alpine %s'
URL_http = firefox -remote "openURL(%u, new-tab)"
URL_readme = ${TermExec} 'less /usr/doc/%s/README'
# }}}

# {{{ Extension handlers
EXT:ps = gv %s
EXT:pdf = okular %s
EXT:doc,rtf = /opt/openoffice/program/swriter %s
EXT:txt,py,lua,pl,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am = emacsclient -n %s
# }}}