vifm

Why vifm?

I have been us­ing vim since 2011, as a fresh­man at HCMUS. Since then, vim (and later neovim) has be­come my daily dri­ver for all kinds of cod­ing and edit­ing. My friend prefers emacs and his org mode looks fancy as hell. Nonetheless, it does­n’t con­vince me enough to switch.

After ex­per­i­ment­ing with a bunch of dif­fer­ent TUI file man­agers, I de­cided to stick with vifm. It re­minds me a lot of vim, from its phi­los­o­phy, to how the soft­ware is cus­tomized via vim-like script, its re­spon­sive­ness and also built-in fea­tures suit­ing my work­flow.

Filters

The com­mon fil­ter I use (not the per­ma­nent one via :filter) is lo­cal fil­ters. In the nor­mal mode, press = to in­put the fil­ter.

File Operations

:alink cre­ate ab­solute sym­bolic links to files in di­rec­tory of in­ac­tive view.

Bookmarks

  • m<char>: set a new book­mark.
  • '<char>: jump to the book­mark.

Others

  • ga to cal­cu­late the cur­rent folder/​file size (using cache) while gA re-cal­cu­late it.