# 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=vim # 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. USE_COLOR=1 # This is how many files to show in the directory history menu. HISTORY_LENGTH=15 # The sort type is how the files will be sorted in the file listing. # Sort by File Extension = 0 # Sort by File Name = 1 # Sort by Group ID = 2 # Sort by Group Name = 3 # Sort by Mode = 4 # Sort by Owner ID = 5 # Sort by Owner Name = 6 # Sort by Size = 7 # Sort by Time Accessed =8 # Sort by Time Changed =9 # Sort by Time Modified =10 # This can be set with the :sort command in vifm. LEFT_WINDOW_SORT_TYPE=1 RIGHT_WINDOW_SORT_TYPE=1 # 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=$ LWIN_INVERT=0 RWIN_FILTER=$ RWIN_INVERT=0 # 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 # The standard ncurses colors are: # BLACK 0 # RED 1 # GREEN 2 # YELLOW 3 # BLUE 4 # MAGENTA 5 # CYAN 6 # WHITE 7 # COLOR=Window_name=foreground_color=background_color COLOR=MENU=6=0 COLOR=BORDER=0=7 COLOR=WIN=7=0 COLOR=STATUS_BAR=7=0 COLOR=CURR_LINE=7=4 COLOR=DIRECTORY=6=0 COLOR=LINK=3=0 COLOR=SOCKET=4=0 COLOR=DEVICE=1=0 COLOR=EXECUTABLE=2=0 COLOR=SELECTED=5=7 COLOR=CURRENT=0=7 # If you would like to run an executable file when you # press return on the file name set this to 1. RUN_EXECUTABLE=0 # BOOKMARKS=mark=/full/directory/path=filename BOOKMARKS=H=/home/tex=../ BOOKMARKS=a=/home/tex=archive BOOKMARKS=d=/home/tex=download BOOKMARKS=h=/home=tex/ BOOKMARKS=z=/home/tex/.vifm=../ # COMMAND=command_name=action # The following macros can be used in a command # %a is replaced with the user arguments. # %f the current selected file, or files. # %F the current selected file, or files in the other directoy. # %d the current directory name. # %D the other window directory name. # %m run the command in a menu window # %s run the command in a new screen region COMMAND=mplayer=mplayer -f %f COMMAND=xine=xine -f %f # The file type is for the default programs to be used with # a file extension. # FILETYPE=description=extension1,extension2=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=Text File=txt,log,TXT,LOG=most,vim FILETYPE=Source Code=c,cxx,cpp,conf,cfg,css,js,h,hh,in,ini,java,m4,rb,pl,py,php,php3,php4,sh,xml,C,CXX,CPP,CONF,CFG,CSS,JS,H,HH,IN,INI,JAVA,M4,RB,PL,PY,PHP,PHP3,PHP4,SH,XML=vim,most FILETYPE=Object=o=nm %f | less FILETYPE=Web Content=htm,html,shtml,shtm,HTM,HTML,SHTML,SHTM=firefox,vim FILETYPE=Archive=tar.gz,tgz=tar -tzf %f | less,tar -zxvf %f FILETYPE=Image=gif,jpg,jpeg,png,bmp,pbm,ppm,xpm,GIF,JPG,JPEG,PNG,BMP,PBM,PPM,XPM=feh %f,gimp FILETYPE=Macromedia Flash=swf,SWF=gflashplayer,firefox FILETYPE=GIMP Image=xcf,XCF=gimp FILETYPE=Scalable Vector Graphic=svg,SVG=inkscape FILETYPE=Portable Document Format=pdf,PDF=firefox,acroread,evince FILETYPE=Postscript Document=ps,eps,dvi,djvu,PS,EPS,DVI,DJVU=evince FILETYPE=Quake 3 Demo=dm_68,DM_68=demoplay FILETYPE=Real Media Video=rm,ram,RM,RAM=mplayer,realplayer FILETYPE=Audio File=mp3,ogg,wav,MP3,OGG,WAV=mplayer FILETYPE=Video File=flv,asf,asx,avi,m2v,mov,mp4,mpeg,mpg,wmv,wma,mkv,ogm,FLV,ASF,ASX,AVI,M2V,MOV,MP4,MPEG,MPG,WMV,WMA,MKV,OGM=mplayer,xine FILETYPE=Tracker Module=mod,s3m,MOD,S3M=mikmod