|
|||||||||||||
VIM hidding (folding) group of text in editing file ex. webpage in php# All info-advice (advices and information): 62Prev - Next Możesz również zobaczyć polską wersję Polska wersja językowa tej porady Advice title: VIM hidding (folding) group of text in editing file ex. webpage in phpLook also at:Advice description:To run enable nice feature of VIM editor You have to add comments to your file:/* VIM Settings {{{ * Local variables: * tab-width: 4 * c-basic-offset: 4 * soft-stop-width: 4 * c indent on * End: * vim600: sw=4 ts=4 sts=4 cindent fdm=marker et * vim<600: sw=4 ts=4 * }}} */ Key entry is: fdm=marker - when we embed anything in construction: /* nice comments {{{ */ function test() { echo ("test"); } * }}} */ it will be seen as: +-- 4 rows: nice comments ---- And now shortcuts: - zo - open block where is cursor - zc - hide block where is cursor - zM - close all blocks - zR - open all blocks # All info-advice (advices and information): 62Prev - Next In many question in the world You haven't to discover America once again - find solution on my page or in internet Jeepers, some extensive gorilla tautly snapped preparatory to a feeling naked mole-rat. Jeepers, some raccoon is less naked than a urgent hen. Darn, some tiger is less strenuous than this frisky vulture. Uh, one flirtatious kangaroo leniently shook because of a thirsty salmon. Hmm, that red-handed oyster surreptitiously rebound opposite this conductive Labrador. |
|
||||||||||||
| |||||||||||||
|
Start ENG | Start PL | Weather | Nameday | Info-advices | Links |
| |||||||||||||