Created
February 4, 2016 09:38
-
-
Save mstrehler/f80888e824c44572240f to your computer and use it in GitHub Desktop.
Marker-Folding für vim (Beispiel für ein bib-File)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Beispiel für Marker-Folding (hier ein BibTex-File *.bib) | |
% Die Datei enthält Ende eine Modline, die die foldmethod setzt | |
% (=marker). Die gefoldeten Anteile müssen in dreifache geschweifte Klammern | |
% gesetzt werden {{{ }}}. Auskommentierungen werden ignoriert. | |
% Vim-Befehle: Mit zo wird der Fold geöffnet, mit zc geschlossen. | |
% zM schliesst alle Folds, egal | |
% wo der Cursor sich befindet, zR öffnet alle. | |
% String-Definitionen {{{ | |
@STRING(TO = "Tour") | |
@STRING(RB = "{R}oad{B}ike") | |
@STRING(GCN = "{Global Cycling Network}") | |
% }}} | |
% {{{ YouTube-Videos | |
@misc{gcn2011winter, | |
author = GCN, | |
title = {{Top 10 Tips For Cycling In Winter - Matt Stephens' Pro Tips For Winter Riding}}, | |
type = video, | |
year = 2011, | |
month = {\APACmonth{11}}, | |
day = {14}, | |
url = {https://youtu.be/097kJPd-0q8}, | |
lastchecked = {10.12.2015}, | |
otherinfo = {bidon repar kit, warm toes (tin foil), spare layers, stand-by light, | |
two tubes, tyre selection, fuel, clean your bike, keep warm (keep moving), | |
protect your smartphone}, | |
} | |
% }}} | |
% Blog-Einträge {{{ | |
% }}} | |
% Artikel {{{ | |
% }}} | |
% Webseiten {{{ | |
% }}} | |
% Modline | |
% vim:foldmethod=marker:foldlevel=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment