Skip to content

Instantly share code, notes, and snippets.

@JuanVqz
Last active September 28, 2017 05:02
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 JuanVqz/70b3984c146ad56075fc0703cbb39b0b to your computer and use it in GitHub Desktop.
Save JuanVqz/70b3984c146ad56075fc0703cbb39b0b to your computer and use it in GitHub Desktop.
folding vim
" Folding, not need for plugin
"" fold enable
set fen
"" no fold enable
set nofen
"" fold column
set fdc=0
set fdc=40
"" fold mode indent
set fdm=indent
zM = fold More
zm = fold one level
zR = no Fold More
zr = no Fold one level
zi = no fold
zo = one no fold
zc = fold
"" fold mode manual
set fdm=manual
zf{motion} = fold selected lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment