svnno****@sourc*****
svnno****@sourc*****
2011年 11月 11日 (金) 21:50:36 JST
Revision: 4714 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4714 Author: doda Date: 2011-11-11 21:50:36 +0900 (Fri, 11 Nov 2011) Log Message: ----------- ããã¥ã¡ã³ãæ´æ° ã»ãã¼ãã«ã¢ã¼ãä½µç¨ã¨æ¿å ¥ã¢ã¼ãã®ã¿ã®è¨å®ãæ··ãã£ã¦ããã®ãä¿®æ£ ã»æ¿å ¥ã¢ã¼ãã®ã¿ç¨ã®è¨å®ã追å Modified Paths: -------------- trunk/doc/en/html/usage/tips/vim.html trunk/doc/ja/html/usage/tips/vim.html -------------- next part -------------- Modified: trunk/doc/en/html/usage/tips/vim.html =================================================================== --- trunk/doc/en/html/usage/tips/vim.html 2011-11-11 10:34:01 UTC (rev 4713) +++ trunk/doc/en/html/usage/tips/vim.html 2011-11-11 12:50:36 UTC (rev 4714) @@ -74,8 +74,8 @@ <pre class="macro-example"> if &term =~ "xterm" - let &t_SI .= "\e[?2004h" - let &t_EI .= "\e[?2004l" + let &t_ti .= "\e[?2004h" + let &t_te .= "\e[?2004l" let &pastetoggle = "\e[201~" function XTermPasteBegin(ret) @@ -90,6 +90,26 @@ endif </pre> +<!-- p> +ãLÌÝèÅÍm[}[hÅ\èt¯ðs¤Æ}ü[hÉØèÖíÁÄ\èt¯ªsíêÜ·ªA±êðsí¸É}ü[hÌÌÝLøÉ·éêÍȺÌÝèðgpµÄº³¢B<br> +ãqÌ<a href="#withScreen">GNU ScreenÆ̹pÌÓ_</a>É éÝèðs¤êͱ¿çÌûªsª¢¢Åµå¤B +</p --> + +<pre class="macro-example"> +if &term =~ "xterm" + let &t_SI .= "\e[?2004h" + let &t_EI .= "\e[?2004l" + let &pastetoggle = "\e[201~" + + function XTermPasteBegin(ret) + set paste + return a:ret + endfunction + + inoremap <special> <expr> <Esc>[200~ XTermPasteBegin("") +endif +</pre> + <h4>About Bracketed Paste mode</h4> <p> The bracketed paste mode is the xterm extension feature. When this feature is enabled, the pasted text is bracketed with control sequences so that the program can differentiate the pasted text from typed-in text.<br> Modified: trunk/doc/ja/html/usage/tips/vim.html =================================================================== --- trunk/doc/ja/html/usage/tips/vim.html 2011-11-11 10:34:01 UTC (rev 4713) +++ trunk/doc/ja/html/usage/tips/vim.html 2011-11-11 12:50:36 UTC (rev 4714) @@ -74,8 +74,8 @@ <pre class="macro-example"> if &term =~ "xterm" - let &t_SI .= "\e[?2004h" - let &t_EI .= "\e[?2004l" + let &t_ti .= "\e[?2004h" + let &t_te .= "\e[?2004l" let &pastetoggle = "\e[201~" function XTermPasteBegin(ret) @@ -90,6 +90,26 @@ endif </pre> +<p> +ãLÌÝèÅÍm[}[hÅ\èt¯ðs¤Æ}ü[hÉØèÖíÁÄ\èt¯ªsíêÜ·ªA±êðsí¸É}ü[hÌÌÝLøÉ·éêÍȺÌÝèðgpµÄº³¢B<br> +ãqÌ<a href="#withScreen">GNU ScreenÆ̹pÌÓ_</a>É éÝèðs¤êͱ¿çÌûªsª¢¢Åµå¤B +</p> + +<pre class="macro-example"> +if &term =~ "xterm" + let &t_SI .= "\e[?2004h" + let &t_EI .= "\e[?2004l" + let &pastetoggle = "\e[201~" + + function XTermPasteBegin(ret) + set paste + return a:ret + endfunction + + inoremap <special> <expr> <Esc>[200~ XTermPasteBegin("") +endif +</pre> + <h4>Bracketed Paste mode É¢Ä</h4> <p> ±Ì@\Í xterm g£ÅALøÉÈÁÄ¢éÆANbv{[h©çÌ\èt¯É¶ñÌOãÉÁÊÈV[PXðtÁ·éÆ¢¤àÌÅ·B<br>