Wiki: DebugInfo: NewToVim


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

Querying backend directly for 'NewToVim'

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

    [_basepage] => NewToVim
    [_content] => Array
        (
            [0] => <div class="wikitext"><dl><dt class="tightenable top bottom">At first</dt>
<dd class="tightenable top bottom"><ul><li class="tightenable top bottom">Start typing something by pressing i.</li>
<li class="tightenable top bottom">Exit vim by pressing Esc then writing :q and pressing Enter</li>
<li class="tightenable top bottom">Save your file similarly but using :w myfile.txt</li>
</ul>
</dd>
<dt class="tightenable top bottom">Getting help</dt>
<dd class="tightenable top"><ul><li class="tightenable top bottom">:help :help - how to use help</li>
<li class="tightenable top bottom">:help :helpgrep - how to use the searchable help</li>
<li class="tightenable top bottom">Learn to use the :help.  Know the difference between :help foo, :help 'foo and  :help c_foo. --
            [1] => cached_wikilink Object
                (
                    [_page] => Tofer
                )

            [2] => </li>
<li class="tightenable top bottom">Try ctrl-D completion on help topics --
            [3] => cached_wikilink Object
                (
                    [_page] => Tofer
                )

            [4] => </li>
<li class="tightenable top bottom">Refer to the 
            [5] => cached_externallink Object
                (
                    [_url] => http://vimdoc.sf.net
                    [_label] => Vimdoc
                )

            [6] =>  website for HTML versions of the Vim docs and electronic copy of the 
            [7] => cached_externallink Object
                (
                    [_url] => http://www.truth.sk/vim/vimbook-OPL.pdf
                    [_label] => Newriders VimBook
                )

            [8] => . Also has lots of other howtos and useful documents. --
            [9] => cached_wikilink Object
                (
                    [_page] => kisielk
                )

            [10] => </li>
</ul>
</dd>
<dt class="tightenable bottom">
            [11] => cached_wikilink Object
                (
                    [_page] => Tofer
                )

            [12] => 's Vim advice</dt>
<dd class="tightenable top bottom"><ul><li class="tightenable top bottom">If you find yourself trying to do some major text munging on a file, and digging through the :help for esoteric regex tricks, consider using Perl. You can filter a block of text through a Perl find and replace easily:</li>
</ul>
</dd>
</dl>
<pre class="tightenable top">
!perl -pe 's?before?after?'</pre>
<dl><dt class="tightenable bottom">
            [13] => cached_wikilink Object
                (
                    [_page] => MetaCosm
                )

            [14] => 's Vim advice</dt>
<dd class="tightenable top"><ul><li class="tightenable top bottom">Start with 
            [15] => cached_wikilink Object
                (
                    [_page] => VimTutor
                )

            [16] =>  or the 
            [17] => cached_externallink Object
                (
                    [_url] => http://vi-improved.com/tutorial.php
                    [_label] => Tutorial
                )

            [18] =>  on this site.</li>
<li class="tightenable top bottom">Don't worry about trying to know everything about vim, just learn features that are useful for what you are currently doing -- as time goes on, your personal featureset will grow.</li>
</ul>
</dd>
<dt class="tightenable bottom">
            [19] => cached_wikilink Object
                (
                    [_page] => daniel
                )

            [20] => 's Vim advice</dt>
<dd class="tightenable top"><ul><li class="tightenable top bottom">Use :make and :grep instead of :!make or :!grep. Then use :cwin or :copen
to view the results of either make or grep in a coloured list. You can jump
to the corresponding line/file with either Return or when click on it, if
`mouse' is set to a (:set mouse=a).</li>
<li class="tightenable top bottom">Get a decent colorscheme from 
            [21] => cached_externallink Object
                (
                    [_url] => http://vim.sourceforge.net/scripts/script_search_results.php?keywords=&amp;script_type=color+scheme&amp;order_by=rating&amp;direction=descending&amp;search=search
                    [_label] => vim.sf.net
                )

            [22] => .
To apply the colorscheme, copy it to ~/.vim/colors and type
:colorscheme &amp;lt;name&amp;gt; (you can use tab completion here).</li>
</ul>
</dd>
<dt class="tightenable bottom">
            [23] => cached_wikilink Object
                (
                    [_page] => Jerub
                )

            [24] => 's Vim advice</dt>
<dd class="tightenable top"><ul><li class="tightenable top bottom">touch $HOME/.vimrc</li>
</ul>
</dd>
<dt class="tightenable bottom">
            [25] => cached_wikilink Object
                (
                    [_page] => cout
                )

            [26] => 's Vim advice</dt>
<dd class="tightenable top bottom"><ul><li class="tightenable top bottom">Read the 
            [27] => cached_wikilink Object
                (
                    [_page] => BestTips
                )

            [28] =>  page.</li>
<li class="tightenable top bottom">Find and read lots of example vimrc files.  You can find a few on the 
            [29] => cached_wikilink Object
                (
                    [_page] => VimRcExamples
                )

            [30] =>  page.</li>
<li class="tightenable top bottom">Learn how to use visual and blockwise-visual modes.  Type :help visual-use to get started.</li>
<li class="tightenable top bottom">Learn how to avoid using the arrow keys.  I cut out a piece of cardboard and put them over my arrow keys to force myself to learn how to navigate using the keys on the home row almost exclusively.  Once you learn how efficient vi keybindings can be, you'll never want to go back.</li>
<li class="tightenable top bottom">Learn how to use Ctrl-P and Ctrl-N to tell vim to complete the word you are currently typing.  This saves me a LOT of time when I am coding. (Or get 
            [31] => cached_wikilink Object
                (
                    [_page] => SuperTab
                )

            [32] => , which saves me a metrix ton of time --
            [33] => cached_userlink Object
                (
                    [_page] => MetaCosm
                )

            [34] => )</li>
</ul>
</dd>
</dl>
</div>

        )

)
 hits  13905
get_versiondata('NewToVim',60)
 %content  At first: - Start typing something by p ...
 author  66.187.233.202
 author_id  66.187.233.202
 is_minor_edit   
 markup  2
 mtime  1187272278
 pagetype  wikitext
 summary  Got rid of porn spam.
get_versiondata('NewToVim',59)
 %content  At first: - Start typing something by p ...
 _supplanted  1187272278
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186732988
 pagetype  wikitext
get_versiondata('NewToVim',58)
 %content  At first: - Start typing something by p ...
 _supplanted  1186732988
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186732366
 pagetype  wikitext
get_versiondata('NewToVim',57)
 %content  At first: - Start typing something by p ...
 _supplanted  1186732366
 author  84.63.12.223
 author_id  84.63.12.223
 is_minor_edit  1
 markup  2
 mtime  1185286188
 pagetype  wikitext
 summary  removed spam
get_versiondata('NewToVim',56)
 %content  At first: - Start typing something by p ...
 _supplanted  1185286188
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1184328176
 pagetype  wikitext
get_versiondata('NewToVim',55)
 %content  At first: - Start typing something by p ...
 _supplanted  1184328176
 author  65.183.142.159
 author_id  65.183.142.159
 is_minor_edit   
 markup  2
 mtime  1184197509
 pagetype  wikitext
get_versiondata('NewToVim',54)
 %content  At first: - Start typing something by p ...
 _supplanted  1184197509
 author  66.187.229.200
 author_id  66.187.229.200
 is_minor_edit   
 markup  2
 mtime  1183471325
 pagetype  wikitext
 summary  remove spam
get_versiondata('NewToVim',51)
 %content  At first: - Start typing something by p ...
 _supplanted  1183042917
 author  82.146.53.20
 author_id  82.146.53.20
 is_minor_edit   
 markup  2
 mtime  1155056834
 pagetype  wikitext

Copyright © 2007 RobertMelton.com