Skip to content

Using modeline to fold vimrc in chapter 22 #150

Open
@CyrusYip

Description

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:

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions