You are on page 1of 5

The basic vi key bindings are used to move through the files and popup windows.

k is up j is down h is updir l is handle file and is the same as Return. Ctrl-c or the Escape key will cancel most operations. Ctrl-l will clear and redraw the screen. gg top of list G bottom of list cw change word is used to rename a file. m [a-z][A-Z][0-9] to set bookmark ' letter to goto bookmark v start or stop visualy selecting files. This works with the j and k ke ys for movement. This is different then in vi in that v in visual mode will leave the selected files highlighted. If you want to clear the selected files Ctrl-c or Esc will unselect the files. dd - the default setting is to move the selected files to the trash directory. yy - will yank the selected files. p - will copy the yanked files to the current directory or move the file s to the current directory if they were deleted with dd or :d or i f the files were yanked 'yy' from the Trash directory. Space or Tab to switch lists. Most movement commands also accept a count 12j would move down 12 lines . [count] % percent of file list [count] j or k [count] G or gg [count] dd or yy the count is from the current file downward. :[count] user command is not yet implemented. :[count] command The only builtin :[count] command is :[count]d[elete]. :3d wou ld delete three files starting at the current file position moving down. :number - move to the line number :12 would move to the 12th line. :0 move to the top of the list. :$ move to the bottom of the list. Return or l - handle file Default file type program or if on a directory enter the directo ry Ctrl-g toggles full file information window. Ctrl-b - jump back one page. Ctrl-f - jump forward one page. /regular expression pattern - will highlight all files matching the patt

this crude help file :marks .show the present working directory :ch[ange] . :commands :com is a menu of user commands :com name action . . Files can also be tagged or selected with 't'.shows menu of current backgrounded processes.would filter all files ending in . :!!ls -l :e load file into vi :only .will overwrite a preciously set command.change the other panel to the current panel directory.popup menu of bookmarks :screen toggles whether to use the screen program or not. N find previous match. :h[elp] . :!! same as :! but will pause the screen before returning to vifm. :com rm rm %f & :apropos manpage .popup menu of directories visited :jobs . Pressing 't' on a select ed file will unselect it.switch to a one window view. :com! name action .o from the filelis t. programs that write to stdout like ls will create an err or message showing partial output of the command. :sh will start a shell :q or :x will exit vifm :! program will execute the program in a shell :!command & will run the process in the background. :fil \.ern in the current file list.toggle on and off the quick file view. :delc command_name will remove the command_name user command :fil regular_expression pattern will filter the files out of the directo ry listing that match the regular expression. :pwd .popup menu of different sorting methods :sp[lit] . :cd . User commands are run in a shell by default.will set a new user command Unlike vim user commands do not have to start with a capital let ter.create a menu window to alter a files properties.will create a menu with the results from the locate command. To run a command i n the background you must set it as a background command with & at the end of the commands action. :view . :sync .c$ would highlight all the .switch to a two window view.c files.change directory :cd ~/bin :s[ort] . :locate filename . :empty will permanently remove 'rm -fr' files from the Trash directory.will create a menu with the results from the apropos command. n find next match.o$ . /\. This can be used by itself to select files or wi th a /search pattern or with visually selected files. :his[tory] .

zo show all the dot files zm filter all the . filtered files are not checked in / search or :commands file name filters can be set with :com name fil pattern :com ofiles fil \. search patterns can be set with :com name /pattern :com backup /~$ file filters The basic vim folding key bindings are used for filtering files. Screen configuration. If you want to change any settings vifm must not be running when you edi t the file as it will overwrite any changes you make when it exits.would run ls -l | less with or witho ut an argument being given.vifm/vifmrc. :com mkdir mkdir %a & :com mygrep vim "+grep %a" %a is simply replaced with the user arguments and the arguments are considered to be optional. Each file list has its own filter.. using a / search pattern or in combination with 't'. Visually selecting f iles. If you want a command to accept arguments you must use %a. ./ file no matter what the filter setting is with the exception of the / directory. The default configuration file is ~/. If you use the screen program. %d current directory name %D other file list directory name :com mv mv %f %D would set the mv command to mv all of the selected files to the other directory. Misc. :com lsl ls -l %a | less .o$ files zf filter all the selected files This will work with all selecting methods. zO show the filtered files zM Filter the files matching the filename filter. :fil[ter] regular expression :in[vert] invert the filter All directorys will show the . vifm can be config ured to use a new screen window for opening files or running :!programs.command macros %a user arguments %f all of the selected files %F all of the selected files in the other directory list.

vim script to change the command name used if they conflict with other user commands.Escape or Ctrl-c to clear .split the buffer and open a file.vim script to load files from vifm into a running v im. :Vsplit .Ctrl-c or Escape to clear all selected files vifm. You can edit the vifm. Menus bookmarks escape or Ctrl-c to abort j and k to move through dd on a bookmark to remove. :Split . /full/path/to/directorytwo .return or l to select and exit the menu. -f .vim/plugin/ To use vifm to load a file into a running vim use the following commands : :Edit . The default is to start vifm in the current directory.vim is a vim plugin that allows the use of vifm from vim. Reserved :commands ! change cd cmap com d delc e empty fi fil file filter . Starting options: /full/path/to/directoryone . --help .using two full paths will start vif m with the first path in the left file list and the second path in the right file list. This is u sed for the vifm.will print the version number and exit. It is included in the source tarball but it is not installed by default and mu st be manually placed in either the default vim/plugin directory or in ~/.using vifm /usr/local will start vi fm with the /usr/local a file in the current buffer. --version .open a file to compare to the current file using the vim :diff command.will run vifm but selecting a file will write the file name to ~/.vertically split a buffer and open a file. sort menu j and k to move .will show help file. :Diff .vifm/vimfiles instead of opening the file.

h help his history in invert map marks nmap pw pwd q s screen sh sort unmap view vifm vmap x .