Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('AutoChange') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => AutoChange [_content] => Array ( [0] => <div class="wikitext"><h3>Challenge</h3> <p class="tightenable">A request was made in #vim for there to be an automatic version of change. This would be a special version of change that would "snap" back to normal mode after a word or line is typed.</p> <p class="tightenable">For example when using cw and c$, set it so that as soon as soon as enter (or space for cw) is pressed it goes into normal mode?</p> <hr /> <h3>Solutions</h3> <p class="tightenable"> [1] => cached_wikilink Object ( [_page] => Houl ) [2] => how damn old is this challenge??</p> <pre class="tightenable bottom"> nno <script> cw <sid>spw_cw nno <script> c$ <sid>crd_c$ nno <silent> <sid>spw_ :call <sid>Stopkey("space")<cr> nno <silent> <sid>crd_ :call <sid>Stopkey("cr")<cr> fun! s:Stopkey(key) exe "ino <silent> <sid>unmap <esc>:call <sid>Unmap('".a:key."')<cr>" exe "ino <script> <".a:key."> <sid>unmap" ino <script> <esc> <sid>unmap ino <script> <c-o> <sid>unmap ino <script> <c-c> <sid>unmap " not complete: Ctrl-\_Ctrl-N, Ctrl-R="\<esc>"<cr>, ... endfun fun! s:Unmap(key) exe "sil! iunmap <".a:key.">" sil! iunmap <esc> sil! iunmap <c-o> sil! iunmap <c-c> endfun " Notes: " * <script> and <sid> need a surrounding script file " * no switching (enable/disable [3] => cached_wikilink Object ( [_page] => AutoChange ) [4] => ) " * remaps some other keys that stop Insert mode, to not leave i_Space resp. " i_Enter mapped (and do unwanted things later) " * i_Ctrl-O works like i_Esc " * not a general solution: key must be a <...>-key, one key only</pre> </div> ) [_description] => A request was made in #vim for there to be an automatic version of change. This would be a special version of change that would "snap" back to normal mode after a word or line is typed. ) |
hits | 2165 |
get_versiondata('AutoChange',8) | |
%content | !!Challenge A request was made in #vim ... |
author | 84.148.192.144 |
author_id | 84.148.192.144 |
is_minor_edit | |
markup | 2 |
mtime | 1189203563 |
pagetype | wikitext |
summary | remove spam |
get_versiondata('AutoChange',7) | |
%content | !!Challenge A request was made in #vim ... |
_supplanted | 1189203563 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186736515 |
pagetype | wikitext |
get_versiondata('AutoChange',6) | |
%content | !!Challenge A request was made in #vim ... |
_supplanted | 1186736515 |
author | 194.94.79.49 |
author_id | 194.94.79.49 |
is_minor_edit | |
markup | 2 |
mtime | 1184878763 |
pagetype | wikitext |
summary | Attempt |
get_versiondata('AutoChange',5) | |
%content | !!Challenge A request was made in #vim ... |
_supplanted | 1184878763 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1184066862 |
pagetype | wikitext |
get_versiondata('AutoChange',4) | |
%content | !!Challenge A request was made in #vim ... |
_supplanted | 1184066862 |
author | MarkStosberg |
author_id | MarkStosberg |
is_minor_edit | |
markup | 2 |
mtime | 1109436840 |
pagetype | wikitext |
summary | that looked like a spam attack, so I removed it. |