###############################################
# Ytree Defaults
# Modify this file and copy it to the hidden 
# file called .ytree placed in your home directory.
# You may also invoke it explicitly with the
# "-p <profile-filename> command line argument.
###############################################
#
[GLOBAL]
TREEDEPTH=2
FILEMODE=2
NUMBERSEP=.
NOSMALLWINDOW=0
#LISTJUMP search: 0== standard (one key); 1==incremental
LISTJUMPSEARCH=0
# SEARCHCOMMAND=grep  {}

# Configure if the internal HEX-Viewer/Editor should display
# Adress-Offsets in hex (HEX) or decimal (DECIMAL)
HEXEDITOFFSET=HEX

# Make ytree start in file window mode, in a specified directory
# The "root" directory for ytree is specified on the command
# line; INITIALDIR must be a directory under this root directory.
# The form may be ".", "/full/path/userhome/test/alpha/beta",
# "./alpha/beta", "~/test/alpha/beta", or "beta"
# INITIALDIR=./alpha/beta

# You can create a custom view by defining the variable USERVIEW

# %tag: Tag-Symbol
# %fnm: Filename
# %atr: Attributes
# %lct: Link-Count
# %fsz: File-Size
# %mot: Modification Time
# %lnm: Symbolik Link-Name
# %uid: User-ID
# %gid: Group-ID
# %ino: Inode
# %act: Access Time
# %sct: Status Change Time

# USERVIEW=%tag%fnm %atr %lct %fsz %mot


# ARCEXPAND=arc p
# ARCLIST=arc v
# CAT=cat
# EDITOR=vim
# GUNZIP=gunzip -c
# HEXDUMP=builtin
# LHAEXPAND=lharc p
# LHALIST=lharc v
# MANROFF=nroff -man
# MELT=melt
# PAGER=less -cen
# TAPEDEV=/dev/rmt0
# TAREXPAND=tar xOPf -
# TARLIST=tar tvf -
# UNCOMPRESS=gunzip
# ZIPEXPAND=unzip -c
# ZIPLIST=zipinfo -l
# 7zEXPAND=7z -so e
# 7zLIST=7z l
# ISOEXPAND=7z -so e
# ISOLIST=7z l
# ZOOEXPAND=zoo xp
# ZOOLIST=zoo vm
# RAREXPAND=unrar p -c- -INUL
# RARLIST=unrar l
# RPMEXPAND=builtin
# RPMLIST=rpm -q --dump -l -p
# LZIPLIST=lzip -dc
# ZSTDCAT=zstdcat
#

#############################
# Bracketed [] sections may appear in any order after the 
# initial global configuration section.
#############################

[VIEWER]
.jpg,.gif,.bmp,.tif,.ppm,.xpm=xv -
.1,.2,.3,.4,.5,.6,.7,.8,.n=nroff -man - | less
.ps=ghostview
.mid=timidity -id
.wav=splay
.au=auplay
.avi,.mpg,.mov=xanim
.htm,.html=lynx
.pdf,.PDF=acroread
.mp3=mpg123

######################################
# The values DIR1, DIR2, FILE1, and FILE2 in the [MENU] section redefine the text
# presented in menu lines 1 and 2 of the DIR and FILE windows, respectively.  The
# mapping of the keyboard is not changed here, just the text presented to the user.
######################################
 
# [MENU]
# DIR1=DIR-CUST  (A)ttribute (B)->a (D)elete  (F)ilespec (G)roup (k)-du (K)-dirpath (L)og (Q)uit                
# DIR2=COMMANDS  (M)akedir (O)wner (P)ath/owner (R)ename (S)howall (T)ag (U)ntag e(X)ecute   (^F) dirmode
# FILE1=FILE-CUST (A)ttribute (C)opy (D)elete (E)dit (F)ilespec (G)cc (H)ex (I)->v (L)ogin (M)ove  (Q)uit 
# FILE2=COMMANDS  (O)wner (P)ipe (R)ename (S)ort (T)ag (U)ntag (V)iew (W)c e(X)ecute pathcop(Y) (^F)ilemode 

######################################
# The [DIRMAP] and [FILEMAP] sections allow keyboard keys to be remapped or unmapped
# in directory mode and file mode, respectively.  The comma-separated list of keys to
# the left of the "=" is remapped to perform the action specified by the character to
# the right of the "=".  If no character is specified, the keys are unmapped (do nothing).
######################################
# [DIRMAP]
# <B> or <b> in dir window mode is remapped to <a> key action (Attribute)               
# B,b=a
# <P> or <p> in dir window mode is remapped to <o> key action (Owner)               
# P,p=o

# [FILEMAP]
# <I> in file window mode is remapped to <v> key action (View)               
# i,I=v
# <G> in file window mode is remapped to <g>
# G=g
# ytree default assignment of <g> to "group" is removed
# g=

######################################
# The [DIRCMD] and [FILECMD] sections allow new command actions to be defined
# in directory mode and file mode, respectively.  The command to the right of
# the "=" is executed when the key to the right of the "=" is pressed.  If the
# key is mapped (either by the default ytree key assignments or by a [DIRMAP]
# or [FILEMAP] entry,) this mapping is followed after the command is executed.
# Thus to change FILE mode "g" from "group" to "gcc" requires both a FILECMD
# assignment "g=gcc -O -c" and a FILEMAP assignment "g=" (to remove the default
# action "group" from the "g" key.)
#
# If [command] contains the characters "%s", the selected <filepath> is
# substituted for "%s".  Otherwise, the selected <filepath> is appended to [command].
######################################
# [DIRCMD]
# <k> in dir window mode does "du <dirname> | less"               
# k=du %s | less
# <K> in dir window mode does "echo <dirname> | less"               
# K=echo %s | less
# <p> in dir window mode does "echo <dirname> | less"              
# p=echo %s | less

# [FILECMD]
# <g>  in file window mode does "gcc -O -c <filename>"
# g=gcc -O -c
# <w>  in file window mode does "wc <filename> | less"               
# w=wc %s | less
