Add vim folds to vifmrc file

This commit is contained in:
Marty Oehme 2019-07-04 08:19:16 +02:00
parent f932aa4b97
commit 62610c82c5

View file

@ -1,4 +1,4 @@
" vim: filetype=vifm :
" vim: filetype=vifm : set foldmethod=marker foldlevel=0 nomodeline:
" Sample configuration file for vifm (last updated: 20 July, 2018)
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
@ -6,7 +6,8 @@
" The basic format for each item is shown with an example.
" ------------------------------------------------------------------------------
" Options {{{
" ==============================================================================
" This is the actual command used to start vi. The default is vim.
" If you would like to use another vi clone such as Elvis or Vile
" you will need to change this setting.
@ -101,6 +102,8 @@ set mintimeoutlen=50
" set the pre-key timeout really high, see https://git.io/fNm1d
set timeoutlen=5000
" }}}
" Marks {{{
" ------------------------------------------------------------------------------
" :mark mark /full/directory/path [filename]
@ -111,6 +114,8 @@ mark p ~/projects/
mark n ~/Nextcloud/Notes/
mark t ~/.local/share/vifm/Trash/
" }}}
" Commands {{{
" ------------------------------------------------------------------------------
" :com[mand][!] command_name action
@ -134,6 +139,8 @@ command! mkcd :mkdir %a | cd %a
" command! vgrep nvim "+grep %a"
command! reload :write | restart
" }}}
" Filetypes {{{
" ------------------------------------------------------------------------------
" The file type is for the default programs to be used with
@ -368,6 +375,8 @@ filextype */
" For Windows:
" filetype * start, explorer
" }}}
" vifminfo {{{
" ------------------------------------------------------------------------------
" What should be saved automatically between vifm runs
@ -389,6 +398,8 @@ set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
"
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
" }}}
" Mappings {{{
" ------------------------------------------------------------------------------
" make quitting simpler
@ -460,6 +471,8 @@ nnoremap te :execute ':tree! | echo ":tree"'<cr>
nnoremap t <nop>
nnoremap tt t
" }}}
"
" ------------------------------------------------------------------------------
" Various customization examples