if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1 " common functions for vifm command-line editing buffer filetype plugins " Maintainer: xaizek " Last Change: August 18, 2013 " Prepare buffer function! vifm#edit#Init() " Mappings for quick leaving the buffer (behavior similar to Command line " buffer in Vim) nnoremap :copy 0 \| wq imap " Start buffer editing in insert mode startinsert endfunction endif