# You can edit this file by hand.
# The # character at the beginning of a line comments out the line.
# Blank lines are ignored.
# The basic format for each item is shown with an example.
# The '=' character is used to separate fields within a single line.
# Most settings are true = 1 or false = 0.

# This is the actual command used to start vi.  The default is vi.
# If you would like to use another vi clone such as Vim, Elvis, or Vile
# you will need to change this setting.

VI_COMMAND=vim
# VI_COMMAND=vi
# VI_COMMAND=elvis -G termcap
# VI_COMMAND=vile

# Trash Directory
# The default is to move files that are deleted with dd or :d to
# the trash directory.  1 means use the trash directory 0 means
# just use rm.  If you change this you will not be able to move
# files by deleting them and then using p to put the file in the new location.
# I recommend not changing this until you are familiar with vifm.
# This probably shouldn't be an option.

USE_TRASH=1

# Show only one Window
# If you would like to start vifm with only one window set this to 1

USE_ONE_WINDOW=0

# Screen configuration.	If you would like to use vifm with
# the screen program set this to 1.

USE_SCREEN=0

# 1 means use color if the terminal supports it.
# 0 means don't use color even if supported.

# This is how many files to show in the directory history menu.

HISTORY_LENGTH=15

# To always save pane location on exit and start vifm in the
# last visited directory set this to 1.

SAVE_LOCATION=0

# The sort type is how the files will be sorted in the file listing.
# Sort by File Extension = 1
# Sort by File Name = 2
# Sort by Group ID = 3
# Sort by Group Name = 4
# Sort by Mode = 5
# Sort by Owner ID = 6
# Sort by Owner Name = 7
# Sort by Size = 8
# Sort by Time Accessed = 9
# Sort by Time Changed = 10
# Sort by Time Modified = 11
# For descending sort use negative numbers.
# This can be set with the :sort command in vifm.

LEFT_WINDOW_SORT_TYPE=2

RIGHT_WINDOW_SORT_TYPE=2

# The regular expression used to filter files out of
# the directory listings.
# LWIN_FILTER=\.o$ and LWIN_INVERT=1 would filter out all
# of the .o files from the directory listing. LWIN_INVERT=0
# would show only the .o files

LWIN_FILTER=\.o$
LWIN_INVERT=1
RWIN_FILTER=\.o$
RWIN_INVERT=1

# If you installed the vim.txt help file change this to 1.
# If would rather use a plain text help file set this to 0.

USE_VIM_HELP=0

# If you would like to run an executable file when you
# press return on the file name set this to 1.

RUN_EXECUTABLE=0

# Use KiB, MiB, ... instead of KB, MB, ...

USE_IEC_PREFIXES=1

# Selected color scheme

COLOR_SCHEME=Default

# BOOKMARKS=mark=/full/directory/path=filename

BOOKMARKS=R=/=
BOOKMARKS=U=/usr=../
BOOKMARKS=L=/usr/local=../
BOOKMARKS=S=/usr/local/share=../

# COMMAND=command_name=action
# The following macros can be used in a command
# %a is replaced with the user arguments.
# %c the current file under the cursor.
# %C the current file under the cursor in the other directory.
# %f the current selected file, or files.
# %F the current selected file, or files in the other directory.
# %b same as %f %F.
# %d the current directory name.
# %D the other window directory name.
# %m run the command in a menu window.

COMMAND=mv=mv %f %D &
COMMAND=cp=cp %f %D &
COMMAND=floppy=mount /dev/fd0
COMMAND=run=!! ./%f
COMMAND=make=!!make
COMMAND=grep=vim \"+grep %a\"
COMMAND=df=df -h %m
COMMAND=diff=vim -d %f %F
COMMAND=et=7z x -so %f | tar -C ~/tmp -xf -
COMMAND=find=find . -name '%a' %m
COMMAND=zip=zip -r %f.zip %f

# The file type is for the default programs to be used with
# a file extension.
# FILETYPE=description=extension1,extension2=consoleviewer=defaultprogram, program2
# FILETYPE=Web=html,htm,shtml==links,mozilla,elvis
# would set links as the default program for .html .htm .shtml files
# The other programs for the file type can be accessed with the :file command
# The command macros %f, %F, %d, %F may be used in the commands.
# The %a macro is ignored.  To use a % you must put %%.

FILETYPE=Pdf=pdf==zathura %f,apvlv %f
FILETYPE=Mp3=mp3=ffprobe -show_format -pretty %f 2> /dev/null=ffplay %f
FILETYPE=Video=avi,mp4,wmv,dat,3gp,ogv=ffprobe -show_format -pretty %f 2> /dev/null=ffplay %f
FILETYPE=Web=html,htm==links,mozilla
FILETYPE=Object=o==nm %f | less
FILETYPE=Image=jpg,jpeg,png,gif==eog,xv,gimp
FILETYPE=Md5=md5==md5sum -c %f
FILETYPE=FuseZipMount=zip,jar,war,ear==FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
FILETYPE=ArchiveMount=bz2,tgz,tar.gz=tar -tzf %c=FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR
FILETYPE=Rar2FsMount=rar==FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR
FILETYPE=IsoMount=iso==FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR
FILETYPE=SshMount=ssh==SSH_MOUNT|sshfs %PARAM %DESTINATION_DIR

# For automated FUSE mounts, you must register an extension with FILETYPE=..
# in one of following formats:
#
# FILETYPE=description=extensions=consoleviewer=FUSE_MOUNT|some_mount_command using %SOURCE_FILE and %DESTINATION_DIR variables
# %SOURCE_FILE and %DESTINATION_DIR are filled in by vifm at runtime.
# A sample line might look like this:
# FILETYPE=FuseZipMount=zip,jar,war,ear==FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
#
# FILETYPE=description=extensions=consoleviewer=FUSE_MOUNT2|some_mount_command using %PARAM and %DESTINATION_DIR variables
# %PARAM and %DESTINATION_DIR are filled in by vifm at runtime.
# A sample line might look like this:
# FILETYPE=SshMount=ssh==FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
# %PARAM value is filled from the first line of file (whole line).
# Example first line for SshMount filetype: root@127.0.0.1:/
#
# You can also add %CLEAR if you want to clear screen before running FUSE
# program.
#
# The FUSE_HOME directory will be used as a root dir for all FUSE mounts.
# Unless it exists with write/exec permissions set, vifm will attempt to create it.

FUSE_HOME=/tmp/vifm_FUSE

# Format for displaying time in file list. For example:
# TIME_STAMP_FORMAT=%m/%d-%H:%M
# See man date or man strftime for details.

TIME_STAMP_FORMAT=%m.%d %H:%M
