TensorFlow-Tutorials icon indicating copy to clipboard operation
TensorFlow-Tutorials copied to clipboard

Using modeline to fold vimrc in chapter 22

Open CyrusYip opened this issue 3 years ago • 0 comments

This single line sets foldmethod to marker. I think this method is better than autocmd method, because filetype checking is not needed, and it only affects 1 file(vimrc), not affecting other vim files.

" vim:foldmethod=marker

Note: this line should be placed within 5 lines of the top or bottom of vimrc file.


Reference:

CyrusYip avatar Jun 07 '22 15:06 CyrusYip