Some comments I found in code once:
# Table parsing, old friend... We have spent many long evenings together,
# working through your broken tables, talking about your issues with
# implicit thead elements, and your quirky tr/th heuristics. But ... but
# but it's time for us to move on. We can't keep doing this. It's not you,
# it's me...
#
# I've ... I've met someone new. She's beautiful, she's modern, and she's
# elegant. She's logical, she's clean, and she's well-structured, if you
# know what I mean...
#
# She always puts a single tr in her thead's, and what's more, she's always
# got a thead. Her tbody's support her tr's, and she never forgets them.
# Life is simpler now. Better. Less miscommunication, fewer arguments over
# what defines a header row. Sometimes it lasts in parsing code, but
# sometimes, it hurts instead...
#
# IF YOU EXTEND THIS CODE TO SUPPORT YOUR BROKEN HTML
# TABLES I WILL FIND YOU. YOU HAVE BEEN WARNED!
Thanks to Pete for much amusement.
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Showing posts with label comments. Show all posts
Showing posts with label comments. Show all posts
Vim features
- Line numbering: set number
- Text completion: Ctrl-n or Ctrl-P (while in insert mode)
- Marks: mc (to set mark c) 'c (to go to mark c)
- Perl syntax compiler
- Tag explorer
- Block commenting
- Colour schemes
- Visible tabs: :set listchars=tab:\|\
- last character is a space
- Perldoc integration
- Text folding: set foldmethod=marker and set foldmarker="{{{,}}}"work)
- see other fold methods including perl_fold
- Map keys to other keys:
- " e.g. map Ctrl-E to end-of-line (in insert mode)
- imap
$i
- Auto-complete (for Perl files): start typing, then press Ctrl-Shift-P
Labels:
comments,
docs,
perl,
productivity,
syntax,
text editor,
vi
Nested comments
Are your comments disappearing when you wrap them with a <xsl:comment> tag?
They may already be inside a comment.
They may already be inside a comment.
Subscribe to:
Posts (Atom)