Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('TutorialCommands') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => TutorialCommands [_content] => Array ( [0] => <div class="wikitext"><p class="tightenable top">raw draft of a condensed version of the tutorial:</p> <p class="tightenable"><big> <b> Already converted but needing a refresher? This is for you! </b> </big></p> <ul><li class="tightenable bottom">hands on the <tt>home row</tt> <b>asdf</b> <b>hjkl</b></li> <li class="tightenable top bottom">3 modes, <tt>command mode</tt> (hit <b>esc</b> to return to it), <tt>insert mode</tt> (hit <b>i</b> to enter it) and <tt>visual mode</tt> (hit <b>v</b> to enter it)</li> <li class="tightenable top bottom">hjkl move in command mode, <b>h</b> is left and moves <tt>left</tt>, <b>l</b> is right and moves <tt>right</tt>, <b>j</b> looks like a down arrow and moves <tt>down</tt>, <b>k</b> moves <tt>up</tt>.</li> <li class="tightenable top bottom"><b>w</b> moves <tt>one word forward</tt> <b>3w</b> moves <tt>three words forward</tt>, <b>b</b> moves <tt>one word backward</tt>, <b>3b</b> moves <tt>three words backwards</tt></li> <li class="tightenable top bottom"><b>gg</b> moves to <tt>beginning</tt> of file, <b>G</b> (this is <b>shift-g</b>) moves to <tt>end</tt> of file, <tt>number</tt> followed by <b>shift-g</b> moves to that line number <b>374(shift-g)</b> will move to <tt>line 374</tt></li> <li class="tightenable top bottom">more on moving, <b>8k</b> moves <tt>eight lines up</tt>, <b>5j</b> moves <tt>five lines down</tt>, <b>4l</b> moves <tt>four characters right</tt>, <b>23h</b> moves <tt>23 characters left</tt></li> <li class="tightenable top bottom">in command mode <b>:w</b> to <tt>save</tt>, <b>:q</b> to <tt>quit</tt>, <b>:w!</b> to <tt>overwrite</tt>, <b>:q!</b> to <tt>quit w/o saving</tt>, <b>:wq</b> to <tt>save and quit</tt>, <b>:wq!</b> to <tt>overwrite and quit</tt>, <b>:e</b> file to <tt>open "file"</tt></li> <li class="tightenable top bottom"><b>!</b> <tt>ignore any editor warnings</tt></li> <li class="tightenable top bottom"><b>:</b> opens <tt>command line</tt> which is used for many things other than just saving, opening and quitting</li> <li class="tightenable top bottom">objects and actions: at beginning of word: <b>d2w</b> (action)(times)(object) <tt>(delete)(2)(words forward)</tt> this deletes including the trailing space need to leave it? use <b>de</b> this <tt>deletes one word and leaves the trailing space</tt></li> <li class="tightenable top bottom"><b>d2b</b> <tt>(delete)(2)(words backward)</tt></li> <li class="tightenable top bottom"><b>hjkl</b> are <tt>also objects</tt>! example: <b>d3l</b> <tt>(delete)(3)(left)</tt>, for <b>hl</b> we count <tt>individual characters</tt>, not words, for <b>jk</b> we count <tt>individual lines</tt>, <b>d3k</b> <tt>delete 4 lines up</tt> (3 plus current)</li> <li class="tightenable top bottom"><b>cw</b> <tt>(change)(word)</tt> learned something before? yes! (times)!! <b>c3w</b> <tt>(change)(3)(words)</tt></li> <li class="tightenable top bottom"><b>cb</b> <tt>(change)(word backward)</tt> <b>c3b</b> <tt>(change)(3)(words backwards)</tt></li> <li class="tightenable top bottom">didn't catch why <b>c</b> and <b>d</b> ? look again <b>d3w</b> then check mode, ok, <b>c3w</b>, now check mode, yes, indeed</li> <li class="tightenable top bottom">with all this power to change and delete you need <b>u</b> to <tt>undo</tt> and <b>control-r</b> to <tt>redo</tt>, infinitely</li> <li class="tightenable top bottom">autocompletion: "whatchamacallit" need to type it again? <b>wh(Control-p)</b> will find previous word that starts with "wh" <b>control-p control-n</b> cycle through matches in <tt>(p)revious and (n)ext order</tt></li> <li class="tightenable top bottom">VISUAL MODE: <b>v3w</b> <tt>(visual select)(3)(words)</tt> repeat with <b>b</b> and <b>hjkl</b></li> <li class="tightenable top bottom">what to do with selection: y will "yank" (ie copy selection) p will "put" (ie insert) at new location, use y in visual mode and p in normal mode</li> <li class="tightenable top bottom"><p class="tightenable top bottom">more ways to enter insert mode: <b>i a o I A O</b></p> <ul><li class="tightenable top bottom"><b>i</b> <tt>insert at current location</tt></li> <li class="tightenable top bottom"><b>a</b> <tt>insert after current location</tt></li> <li class="tightenable top bottom"><b>o</b> <tt>insert line below current line</tt></li> <li class="tightenable top bottom"><b>I</b> <tt>insert AT START of current line</tt></li> <li class="tightenable top bottom"><b>A</b> <tt>insert AFTER END of current line</tt></li> <li class="tightenable top bottom"><b>O</b> <tt>insert line ABOVE current line</tt>.</li> </ul> </li> <li class="tightenable top bottom">convenience commands: <b>dd</b> <tt>delete current line</tt>, <b>yy</b> <tt>yank current line</tt></li> <li class="tightenable top bottom">Searching: <b>/regularexpression</b> to <tt>search forward</tt>, <b>?regularexpression</b> <tt>search backward</tt></li> <li class="tightenable top bottom">as before we can combine objects for more <b>y/)</b> will <tt>yank everything to NEXT parens</tt> (or whatever you search for) while <b>y?)</b> will <tt>yank everything up to the LAST parens</tt></li> </ul> </div> ) [_description] => Already converted but needing a refresher? This is for you! ) |
hits | 8841 |
get_versiondata('TutorialCommands',20) | |
%content | raw draft of a condensed version of the ... |
author | 90.129.9.224 |
author_id | 90.129.9.224 |
is_minor_edit | |
markup | 2 |
mtime | 1187538321 |
pagetype | wikitext |
summary | Kick some spam |
get_versiondata('TutorialCommands',19) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1187538321 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186730033 |
pagetype | wikitext |
get_versiondata('TutorialCommands',18) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1186730033 |
author | 68.189.87.49 |
author_id | 68.189.87.49 |
is_minor_edit | |
markup | 2 |
mtime | 1184308426 |
pagetype | wikitext |
summary | remove spam |
get_versiondata('TutorialCommands',17) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1184308426 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1184024779 |
pagetype | wikitext |
get_versiondata('TutorialCommands',15) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1184024779 |
author | 66.216.232.76 |
author_id | 66.216.232.76 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1183179889 |
pagetype | wikitext |
summary | What the hell is a "hard learner"? http://www.google.com/search?hl=en&q=hard%20learner |
get_versiondata('TutorialCommands',13) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1183060446 |
author | 65.19.216.162 |
author_id | 65.19.216.162 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1180311495 |
pagetype | wikitext |
summary | r is not redo, control-r is |
get_versiondata('TutorialCommands',12) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1180311495 |
author | AristotlePagaltzis |
author_id | AristotlePagaltzis |
is_minor_edit | 1 |
markup | 2 |
mtime | 1156236492 |
pagetype | wikitext |
summary | rv |
get_versiondata('TutorialCommands',11) | |
%content | raw draft of a condensed version of the ... |
_supplanted | 1156236492 |
author | 82.146.53.20 |
author_id | 82.146.53.20 |
is_minor_edit | |
markup | 2 |
mtime | 1156170223 |
pagetype | wikitext |