--- a/Makefile Sun Sep 14 22:33:16 2014 +0900
+++ b/Makefile Sun Sep 14 23:07:17 2014 +0900
+ ./rst2cheatsheet.py vim.rst > vim.html
+ ./html2png.py "file://$(realpath vim.html)" vim.png
- ./rst2cheatsheet.py source.rst > cheatsheet.html
+python: python.html python.png
+ ./rst2cheatsheet.py python.rst > python.html
- ./html2png.py "file://$(realpath cheatsheet.html)" wallcheat.png
+ ./html2png.py "file://$(realpath python.html)" python.png
+ rm {vim,python}.{html,png}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/python.rst Sun Sep 14 23:07:17 2014 +0900
+.. %, mapping, conversion, min width, precision, length, type
+``%[(<name>)]`` *|* ``[#0- +][<min width 0-9*>][.<0-9*>][<length>]dioxXeEfFgGcrs``
+ the value conversion will use the “alternate form” (where defined below)
+ the conversion will be zero padded for numeric values
+ the converted value is left adjusted (overrides the '0' conversion if both
+ (a space) a blank should be left before a positive number (or empty string)
+ produced by a signed conversion
+ a sign character ('+' or '-') will precede the conversion (overrides a
+ signed hexadecimal *lowercase*, *uppercase*
+ floating point exponential format *lowercase*, *uppercase*
+ floating point decimal format
+ floating point format. Uses *lowercase*, *uppercase* exponential format if
+ exponent is less than -4 or not less than precision, decimal format
+ single character (accepts integer or single character string)
+ string (converts any Python object using repr())
+ string (converts any Python object using str())
+ <div style="max-width: 600px;">
+ the group matches the empty string; the letters set the corresponding flags
+ a non-capturing version of regular parentheses
+ the substring matched by the group is accessible via the symbolic group
+ matches whatever text was matched by the earlier named group named
+ the contents of the parentheses are simply ignored
+ lookahead assertion: matches next, but doesn't consume any of the string
+ negative lookahead assertion
+ lookbehind assertion: matches a preceding string
+ negative lookbehind assertion, patterns which start with it may match at
+ the beginning of the string being searched
+``(?(id/name)yes-pattern|no-pattern)``
+ sorcery. ``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>)``
--- a/source.rst Sun Sep 14 22:33:16 2014 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
- beginning of *previous*, *next* paragraph
- beginning of *previous*, *next* sentence
- *beginning*, *middle* of line
- *first*, *last* character of line
- line n, default the *first*, *last*
- percentage n of the file
- column n of current line
- match of next brace, bracket, comment, #define
- line n from *start*, *bottom* of window
- create fold of movement m
- create fold for range r
- delete fold at cursor, all in window
- *open*, *close* one fold; *recursively*
- move to *start*, *end* of current open fold
- move *down*, *up* to *start*, *end* of next fold
- insert *before*, *after* cursor
- insert at *beginning*, *end* of line
- insert text in first column
- open a new line *below*, *above* the current line
- change to the end of line
- *lowercase*, *uppercase* text of movement m
- yank current line into register
- put register *after*, *before* cursor position
- like `p`, `P` with indent adjusted
- like `p`, `P` leaving cursor after new text
- write file and edit *next*, *previous* one
- edit *next*, *previous* file in list
- insert content of file f below cursor
- insert output of command c below cursor
- create new empty window
- make current window one on screen
- move to window *below*, *above*
- move to window *below*, *above* (wrap)
- lookup keyword under cursor with man
- start make, read errors and jump to first
- display the *next*, *previous* error
- list all errors, read errors from file
- redraw screen, show filename and position
- show cursor column, line, and character position
- show ASCII value of character under cursor
- open file which filename is under cursor
- complete text *before*, *after* cursor
- shift *left*, *right* one shift width
-.. %, mapping, conversion, min width, precision, length, type
-``%[(<name>)]`` *|* ``[#0- +][<min width 0-9*>][.<0-9*>][<length>]dioxXeEfFgGcrs``
- the value conversion will use the “alternate form” (where defined below)
- the conversion will be zero padded for numeric values
- the converted value is left adjusted (overrides the '0' conversion if both
- (a space) a blank should be left before a positive number (or empty string)
- produced by a signed conversion
- a sign character ('+' or '-') will precede the conversion (overrides a
- signed hexadecimal *lowercase*, *uppercase*
- floating point exponential format *lowercase*, *uppercase*
- floating point decimal format
- floating point format. Uses *lowercase*, *uppercase* exponential format if
- exponent is less than -4 or not less than precision, decimal format
- single character (accepts integer or single character string)
- string (converts any Python object using repr())
- string (converts any Python object using str())
- <div style="max-width: 600px;">
- the group matches the empty string; the letters set the corresponding flags
- a non-capturing version of regular parentheses
- the substring matched by the group is accessible via the symbolic group
- matches whatever text was matched by the earlier named group named
- the contents of the parentheses are simply ignored
- lookahead assertion: matches next, but doesn't consume any of the string
- negative lookahead assertion
- lookbehind assertion: matches a preceding string
- negative lookbehind assertion, patterns which start with it may match at
- the beginning of the string being searched
-``(?(id/name)yes-pattern|no-pattern)``
- sorcery. ``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>)``
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/vim.rst Sun Sep 14 23:07:17 2014 +0900
+ beginning of *previous*, *next* paragraph
+ beginning of *previous*, *next* sentence
+ *beginning*, *middle* of line
+ *first*, *last* character of line
+ line n, default the *first*, *last*
+ percentage n of the file
+ column n of current line
+ match of next brace, bracket, comment, #define
+ line n from *start*, *bottom* of window
+ create fold of movement m
+ create fold for range r
+ delete fold at cursor, all in window
+ *open*, *close* one fold; *recursively*
+ move to *start*, *end* of current open fold
+ move *down*, *up* to *start*, *end* of next fold
+ insert *before*, *after* cursor
+ insert at *beginning*, *end* of line
+ insert text in first column
+ open a new line *below*, *above* the current line
+ change to the end of line
+ *lowercase*, *uppercase* text of movement m
+ yank current line into register
+ put register *after*, *before* cursor position
+ like `p`, `P` with indent adjusted
+ like `p`, `P` leaving cursor after new text
+ write file and edit *next*, *previous* one
+ edit *next*, *previous* file in list
+ insert content of file f below cursor
+ insert output of command c below cursor
+ create new empty window
+ make current window one on screen
+ move to window *below*, *above*
+ move to window *below*, *above* (wrap)
+ lookup keyword under cursor with man
+ start make, read errors and jump to first
+ display the *next*, *previous* error
+ list all errors, read errors from file
+ redraw screen, show filename and position
+ show cursor column, line, and character position
+ show ASCII value of character under cursor
+ open file which filename is under cursor
+ complete text *before*, *after* cursor
+ shift *left*, *right* one shift width