VIM hidding (folding) group of text in editing file ex. webpage in php

# All info-advice (advices and information): 62


Prev - 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 php

Look 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): 62


Prev - 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.
Locations of visitors to this page


_______
Start ENG
Start PL
Weather
Nameday
Info-advices
Links
fight with AIDS
News
Multimedia presentation
Furniture
Sitemap
Ilosc odwiedzin: 210924

E-mail | GG | Tlen | ICQ | Aqq
Pawel | GG 312903 | Tlen amenpl | ICQ 19094864

Thumbnails by Thumbshots.org
Valid HTML 4.01 Transitional
IP: 38.103.63.62

Google
 
Web latkos.eu.org
czar.ltd.pl renault.one.pl

Start ENG | Start PL | Weather | Nameday | Info-advices | Links | fight with AIDS | News | Multimedia presentation | Furniture | Sitemap

Copyright, APL, 2002-2008, All Rights NOT Reserved
Created in vi editor, the special webmaster tool
Coded by Pawełtu pl(AT)latkos.eu.org
weber@latkos.eu.org