[Ttssh2-commit] [4714] ドキュメント更新

Back to archive index

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 &amp;term =~ "xterm"
-    let &amp;t_SI .= "\e[?2004h"
-    let &amp;t_EI .= "\e[?2004l"
+    let &amp;t_ti .= "\e[?2004h"
+    let &amp;t_te .= "\e[?2004l"
     let &amp;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Œø‚É‚·‚éê‡‚͈ȉº‚̐ݒè‚ðŽg—p‚µ‚ĉº‚³‚¢B<br>
+Œãq‚Ì<a href="#withScreen">GNU Screen‚Æ‚Ì•¹—pŽž‚Ì’ˆÓ“_</a>‚É‚ ‚éÝ’è‚ðs‚¤ê‡‚Í‚±‚¿‚ç‚Ì•û‚ª“s‡‚ª‚¢‚¢‚Å‚µ‚傤B
+</p -->
+
+<pre class="macro-example">
+if &amp;term =~ "xterm"
+    let &amp;t_SI .= "\e[?2004h"
+    let &amp;t_EI .= "\e[?2004l"
+    let &amp;pastetoggle = "\e[201~"
+
+    function XTermPasteBegin(ret)
+        set paste
+        return a:ret
+    endfunction
+
+    inoremap &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[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 &amp;term =~ "xterm"
-    let &amp;t_SI .= "\e[?2004h"
-    let &amp;t_EI .= "\e[?2004l"
+    let &amp;t_ti .= "\e[?2004h"
+    let &amp;t_te .= "\e[?2004l"
     let &amp;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Œø‚É‚·‚éê‡‚͈ȉº‚̐ݒè‚ðŽg—p‚µ‚ĉº‚³‚¢B<br>
+Œãq‚Ì<a href="#withScreen">GNU Screen‚Æ‚Ì•¹—pŽž‚Ì’ˆÓ“_</a>‚É‚ ‚éÝ’è‚ðs‚¤ê‡‚Í‚±‚¿‚ç‚Ì•û‚ª“s‡‚ª‚¢‚¢‚Å‚µ‚傤B
+</p>
+
+<pre class="macro-example">
+if &amp;term =~ "xterm"
+    let &amp;t_SI .= "\e[?2004h"
+    let &amp;t_EI .= "\e[?2004l"
+    let &amp;pastetoggle = "\e[201~"
+
+    function XTermPasteBegin(ret)
+        set paste
+        return a:ret
+    endfunction
+
+    inoremap &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[200~ XTermPasteBegin("")
+endif
+</pre>
+
 <h4>Bracketed Paste mode ‚ɂ‚¢‚Ä</h4>
 <p>
 ‚±‚Ì‹@”\‚Í xterm Šg’£‚ŁA—LŒø‚É‚È‚Á‚Ä‚¢‚é‚ƁAƒNƒŠƒbƒvƒ{[ƒh‚©‚ç‚Ì“\‚è•t‚¯Žž‚É•¶Žš—ñ‚Ì‘OŒã‚É“Á•Ê‚ȃV[ƒPƒ“ƒX‚ð•t‰Á‚·‚é‚Æ‚¢‚¤‚à‚Ì‚Å‚·B<br>



Ttssh2-commit メーリングリストの案内
Back to archive index