Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('PasteIndentProblems') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => PasteIndentProblems [_content] => Array ( [0] => <div class="wikitext"><p class="tightenable top"><cgreen> trying to cut a paste from shell running VIM to another shell running VIM, indents are all screwed</p> <p class="tightenable">< [1] => cached_wikilink Object ( [_page] => morbuz ) [2] => > :set paste</p> <p class="tightenable">< [3] => cached_wikilink Object ( [_page] => morbuz ) [4] => > then :set nopaste when you're done</p> <p class="tightenable"><cgreen> I have tried :set noai but editing python code and need to maintain idents of pasted text</p> <p class="tightenable">< [5] => cached_wikilink Object ( [_page] => morbuz ) [6] => > turns off autoindenting and stuff like that</p> <hr /> <p class="tightenable"><ar> use :set paste! to toggle and then use the command scrollback buffer</p> <hr /> <p class="tightenable"><absolon> I made myself a nice mapping for this. Put the following in your .vimrc, and if you paste and the indentation gets fscked just press C-a.</p> <p class="tightenable bottom"><absolon> inoremap <silent> <C-a> <ESC>u:set paste<CR>.:set nopaste<CR>gi</p> </div> ) [_description] => <absolon> I made myself a nice mapping for this. Put the following in your .vimrc, and if you paste and the indentation gets fscked just press C-a. ) |
hits | 4755 |
get_versiondata('PasteIndentProblems',16) | |
%content | <cgreen> trying to cut a paste from shel ... |
author | 74.244.134.44 |
author_id | 74.244.134.44 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1189045117 |
pagetype | wikitext |
summary | spam removed |
get_versiondata('PasteIndentProblems',15) | |
%content | <cgreen> trying to cut a paste from shel ... |
_supplanted | 1189045117 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186738426 |
pagetype | wikitext |
get_versiondata('PasteIndentProblems',14) | |
%content | <cgreen> trying to cut a paste from shel ... |
_supplanted | 1186738426 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186712327 |
pagetype | wikitext |
get_versiondata('PasteIndentProblems',13) | |
%content | <cgreen> trying to cut a paste from shel ... |
_supplanted | 1186712327 |
author | 195.69.210.2 |
author_id | 195.69.210.2 |
is_minor_edit | 1 |
markup | 2 |
mtime | 1184858235 |
pagetype | wikitext |
get_versiondata('PasteIndentProblems',9) | |
%content | <cgreen> trying to cut a paste from shel ... |
_supplanted | 1183076527 |
author | metacosm |
author_id | metacosm |
is_minor_edit | 1 |
markup | 2 |
mtime | 1082766583 |
pagetype | wikitext |