Wiki: DebugInfo: BestTips


Detailed view of a page, which is probably more useful for debugging than anything else.

Querying backend directly for 'BestTips'

get_pagedata('BestTips')
 _cached_html 
transformedtext Object
(
    [_type] => pagetype_wikitext Object
        (
        )

    [_basepage] => BestTips
    [_content] => Array
        (
            [0] => <div class="wikitext"><p class="tightenable top">For a <i>big</i> vim tips page, check
out 
            [1] => cached_externallink Object
                (
                    [_url] => http://www.rayninfo.co.uk/vimtips.html
                )

            [2] => </p>
<p class="tightenable">For <i>java</i> vim tips, check out

            [3] => cached_externallink Object
                (
                    [_url] => http://everything101.sourceforge.net/docs/papers/java_and_vim.html
                )

            [4] => </p>
<p class="tightenable bottom">For <i>ruby</i> vim tips (such as how to get 
            [5] => cached_wikilink Object
                (
                    [_page] => MatchIt
                )

            [6] =>  to work with ruby) read 
            [7] => cached_externallink Object
                (
                    [_url] => http://www.rubygarden.org/ruby?VimExtensions
                )

            [8] =>  and 
            [9] => cached_externallink Object
                (
                    [_url] => http://www.rubygarden.org/ruby?VimRubySupport
                )

            [10] => </p>
<hr />
<p class="tightenable bottom">All these tips assume normal mode unless they state otherwise. These are tips assuming you can fire up and exit vim, this is not where you should start learning about vim.</p>
<ul><li class="tightenable top bottom">Using the '*' key searches for the word under the cursor, use '#' to do the same thing backwards.</li>
<li class="tightenable top bottom">Using the '%' key on brackets {} () [] will find the matching one.</li>
<li class="tightenable top bottom">Using the '.' key will repeat last change</li>
<li class="tightenable top bottom">Use 'u' to undo, use Ctrl-r to remove the undo</li>
<li class="tightenable top bottom">Hitting 'gf' will open the file under cursor</li>
<li class="tightenable top bottom">bufdo ... will apply '...' to all open buffers</li>
<li class="tightenable top bottom">(Insert Mode) Control-n and Control-p will autocomplete the current word by looking forward or backward in the currently open file(s). Can be bound to tab by using 
            [11] => cached_wikilink Object
                (
                    [_page] => SuperTab
                )

            [12] => . Check out the help for 'complete' to set where Vim will search for autocomplete words.</li>
<li class="tightenable top bottom">:g/this/d applies an Ex command to all lines that match 'this' -- if you are uncomfortable with Ex command, you can go into normal mode. :g/this/normal dd (just like hitting 'dd' in normal mode on any line with 'this' in it)</li>
<li class="tightenable top bottom">If you have really long lines and wrapping turned on, you can map j and k to move down/up to the next visible line by doing ':nmap j gj' and ':nmap k gk'</li>
<li class="tightenable top bottom">to maximize a window, type &quot;:simalt x&quot;</li>
</ul>
</div>

        )

    [_description] => All these tips assume normal mode unless they state otherwise. These are tips assuming you can fire up and exit vim, this is not where you should start learning about vim.
)
 hits  21685
get_versiondata('BestTips',64)
 %content  For a _big_ vim tips page, check out htt ...
 author  66.187.233.202
 author_id  66.187.233.202
 is_minor_edit   
 markup  2
 mtime  1187272430
 pagetype  wikitext
 summary  Got rid of porn spam.
get_versiondata('BestTips',63)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1187272430
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186735282
 pagetype  wikitext
get_versiondata('BestTips',62)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1186735282
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186724220
 pagetype  wikitext
get_versiondata('BestTips',61)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1186724220
 author  193.64.112.22
 author_id  193.64.112.22
 is_minor_edit  1
 markup  2
 mtime  1184144056
 pagetype  wikitext
 summary  Naughty spam taken away
get_versiondata('BestTips',58)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1184018357
 author  75.37.15.103
 author_id  75.37.15.103
 is_minor_edit  1
 markup  2
 mtime  1183095592
 pagetype  wikitext
 summary  removed obvious vandalism
get_versiondata('BestTips',56)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1183066440
 author  59.184.141.31
 author_id  59.184.141.31
 is_minor_edit  1
 markup  2
 mtime  1173465542
 pagetype  wikitext
get_versiondata('BestTips',53)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1173465479
 author  47.230.0.41
 author_id  47.230.0.41
 is_minor_edit  1
 markup  2
 mtime  1160775939
 pagetype  wikitext
 summary  added undo / remove undo
get_versiondata('BestTips',52)
 %content  For a _big_ vim tips page, check out htt ...
 _supplanted  1160775939
 author  CryptoCarnivore
 author_id  CryptoCarnivore
 is_minor_edit   
 markup  2
 mtime  1155681724
 pagetype  wikitext
 summary  encoding fixed, external link correction

Copyright © 2007 RobertMelton.com