File: elvis.rc

package info (click to toggle)
global 6.6.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,308 kB
  • sloc: ansic: 39,547; javascript: 4,891; sh: 4,674; perl: 811; lisp: 696; makefile: 332; python: 213; yacc: 122
file content (41 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (4)
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
"
" An example of .elvisrc for GLOBAL.
"
set tagprg="elvis-global $1"
alias gtagscontext {
	eval ("tag" current("word") "--from-here" current("line"):filename)
}
alias gtagsbcontext {
	eval ("browse" current("word") "--from-here" current("line"):filename)
}
alias gtagscontexts {
	eval ("stag" current("word") "--from-here" current("line"):filename)
}
alias gtagsbcontexts {
	eval ("sbrowse" current("word") "--from-here" current("line"):filename)
}
alias gtagstagf {
	eval ("tag -f" filename)
}
alias gtagsbtagf {
	eval ("browse -f" filename)
}
alias gtagstagfs {
	eval ("stag -f" filename)
}
alias gtagsbtagfs {
	eval ("sbrowse -f" filename)
}
alias gozilla {
	eval ("!gozilla " +current("line") " " filename)
}
map <C-n>	:tag<Enter>
map <C-g>	:gozilla<Enter>
map <F3>	:gtagscontext<Enter>
map <F4>	:gtagsbcontext<Enter>
map <C-w><F3>	:gtagscontexts<Enter>
map <C-w><F4>	:gtagsbcontexts<Enter>
map <F6>	:gtagstagf<Enter>
map <F7>	:gtagsbtagf<Enter>
map <C-w><F6>	:gtagstagfs<Enter>
map <C-w><F7>	:gtagsbtagfs<Enter>