Add vim folds to vifmrc file
This commit is contained in:
parent
f932aa4b97
commit
62610c82c5
1 changed files with 15 additions and 2 deletions
|
@ -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)
|
" Sample configuration file for vifm (last updated: 20 July, 2018)
|
||||||
" You can edit this file by hand.
|
" You can edit this file by hand.
|
||||||
" The " character at the beginning of a line comments out the line.
|
" 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.
|
" 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.
|
" 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
|
" If you would like to use another vi clone such as Elvis or Vile
|
||||||
" you will need to change this setting.
|
" 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 the pre-key timeout really high, see https://git.io/fNm1d
|
||||||
set timeoutlen=5000
|
set timeoutlen=5000
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" Marks {{{
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" :mark mark /full/directory/path [filename]
|
" :mark mark /full/directory/path [filename]
|
||||||
|
@ -111,6 +114,8 @@ mark p ~/projects/
|
||||||
mark n ~/Nextcloud/Notes/
|
mark n ~/Nextcloud/Notes/
|
||||||
mark t ~/.local/share/vifm/Trash/
|
mark t ~/.local/share/vifm/Trash/
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" Commands {{{
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" :com[mand][!] command_name action
|
" :com[mand][!] command_name action
|
||||||
|
@ -134,6 +139,8 @@ command! mkcd :mkdir %a | cd %a
|
||||||
" command! vgrep nvim "+grep %a"
|
" command! vgrep nvim "+grep %a"
|
||||||
command! reload :write | restart
|
command! reload :write | restart
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" Filetypes {{{
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" The file type is for the default programs to be used with
|
" The file type is for the default programs to be used with
|
||||||
|
@ -368,6 +375,8 @@ filextype */
|
||||||
" For Windows:
|
" For Windows:
|
||||||
" filetype * start, explorer
|
" filetype * start, explorer
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" vifminfo {{{
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" What should be saved automatically between vifm runs
|
" 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])$|.*~$/
|
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
" Mappings {{{
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" make quitting simpler
|
" make quitting simpler
|
||||||
|
@ -460,6 +471,8 @@ nnoremap te :execute ':tree! | echo ":tree"'<cr>
|
||||||
nnoremap t <nop>
|
nnoremap t <nop>
|
||||||
nnoremap tt t
|
nnoremap tt t
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
"
|
||||||
" ------------------------------------------------------------------------------
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
" Various customization examples
|
" Various customization examples
|
||||||
|
|
Loading…
Reference in a new issue