Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2013 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5252521 to your computer and use it in GitHub Desktop.
Save anonymous/5252521 to your computer and use it in GitHub Desktop.
Some common Midnight Commander key bindings for use with vifm
" For those coming from Midnight Commander who want to use the vi file manager (vifm).
" Place the following in your ~/.vifm/vifmrc config file
" Midnight Commander Bindings
nnoremap <f3> :view<CR>
nnoremap <f4> :edit<CR>
nnoremap <f5> yy<space>p<space>
nnoremap <f6> yy<space>P<space>
nnoremap <f7> :mkdir
nnoremap <f8> dd
nnoremap <f10> ZZ
nnoremap * /.*<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment