
# Defining a keyset for program simv
# Note: '@' and ESC can not be mapped to any command

# -------------------------------------------------------------------------

# Clear old keyset, set main directory and trashdirectory
   clearall
   maindir:.
   trashdir:$./trashdir

# -------------------------------------------------------------------------
# no payload keys

   helpstart:

# -------------------------------------------------------------------------
# Some auxiliary keys 

   helpmore: \backwards !|combine 'silent "loud &unique

   map:\@      -back

# Combine *.tee files from multi part messages by a script in simv's directory
   map:|!@      -shell:$0/combine_tee $(basename $*) -yes

# Set acustic signal for xv.simv by existence of controlfile in $HOME
   map:'@      -shell:rm -f $~/.xv.gefummelt.beep
   map:"@      -shell:touch $~/.xv.gefummelt.beep

# Mark a the similar files as not matching to current one and skip
   map:&@      -shell:similar -distinguish:$*
   map:&@      -skip

# -------------------------------------------------------------------------

# Some general keys not specific to the file management task
# They should be available in any good keyset

   helpmore: ?help >forward <backward =isknown -`delete ~_+deldouble :undo ;reform

# The help key
   map:?@     -help_short

# Enter key refresh the display of current item
   map:@#10@   -refresh

# Navigation keys : '>' and SPACE move forward
   map:> @    -skip

# Navigation keys : '<' and BACKSPACE move backward
   map:<@     -back
   map:@#127@ -back
   map:@#8@   -back

# Deletion keys for current item and its first lookalike
   map:=@     -moveto:$-
   map:-`@    -moveto:$-
   map:~_@    -doubleto:$-
   map:+@     -doubleto:$-
   map:+@     -skip

# Undo and file format normalizer
   map::@     -undo
   map:;@     -jpgb

