File: dot-lookup

package info (click to toggle)
lookup 1.08b-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,112 kB
  • ctags: 1,308
  • sloc: ansic: 12,637; makefile: 245; perl: 174; sh: 53
file content (42 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (9)
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
##
## This is an example ~/.lookup file.
##

## turn verbose mode off during startup file processing
verbose off

prompt "%C([%#]%0)%!C(%w'*'%!f'raw '%n)> "
spinner 200
pager on

## The filter for edict will hit for entries that
## have only one English part, and that English part
## having a pl or pn designation.
load ~/lib/edict
filter "name" #^[^/]+/[^/]*<p[ln]>[^/]*/$#
highlight on
word on

## The filter for kanjidic will hit for entries without a
## frequency-of-use number.  The modify spec will remove
## fields with the named initial code (U,N,Q,M,E, and Y)
load ~/lib/kanjidic
filter "uncommon" !/<F\d+>/
modify /( [UNQMEY]\S+)+//g

## Use the same filter for my local word file,
## but turn off by default.
load ~/lib/local.words
filter "name" #^[^/]+/[^/]*<p[ln]>[^/]*/$#
filter off
highlight on
word on
## Want a tag for my local words, but only when
## accessed via the combo below
tag off ""

combine "words" 2 0
select words

## turn verbosity back on for interactive use.
verbose on