octosquidopus
octosquidopus

Reputation: 3713

How can I hide function definitions in Vim?

Not seeing function definitions all over the place would make my code much more readable.

Is there a way to hide them in vim?

Upvotes: 3

Views: 2038

Answers (1)

Praxeolitic
Praxeolitic

Reputation: 24089

You're looking for folding.

http://vim.wikia.com/wiki/Folding

Fold function in vim

It allows you to "fold" lines of text into a single line and unfold them later.

Upvotes: 8

Related Questions