svnno****@sourc*****
svnno****@sourc*****
2017年 1月 31日 (火) 00:43:57 JST
Revision: 6584 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6584 Author: yutakapon Date: 2017-01-31 00:43:57 +0900 (Tue, 31 Jan 2017) Log Message: ----------- 英訳 Modified Paths: -------------- trunk/doc/en/html/usage/tips/vim.html -------------- next part -------------- Modified: trunk/doc/en/html/usage/tips/vim.html =================================================================== --- trunk/doc/en/html/usage/tips/vim.html 2017-01-30 07:34:38 UTC (rev 6583) +++ trunk/doc/en/html/usage/tips/vim.html 2017-01-30 15:43:57 UTC (rev 6584) @@ -63,10 +63,10 @@ <h2><a name="Bracketed">Auto indent can be disabled on pasting from clipboard</a></h2> -<!-- p class="notice"> -\x92\x8D: Vim 8.0.0238 \x82\xE6\x82\xE8 Vim \x96{\x91̂\xC5 Bracketed Paste Mode \x82ɑΉ\x9E\x82\xB5\x82\xBD\x88ׁA\x89\xBA\x8BL\x82̐ݒ\xE8\x82\xF0\x92lj\xC1\x82\xB5\x82Ȃ\xAD\x82Ă\xE0\x93\\x82\xE8\x95t\x82\xAF\x8E\x9E\x82ɂ͎\xA9\x93\xAE\x83C\x83\x93\x83f\x83\x93\x83g\x82\xE2\x95⊮\x93\x99\x82\xAA\x96\xB3\x8C\xF8\x82ɂȂ\xE8\x82܂\xB7\x81B<br> -\x82\xB5\x82\xA9\x82\xB5\x81Atmux \x97\x98\x97p\x8E\x9E\x82ɂ\xCD Bracketed Paste Mode \x82\xAA\x97L\x8C\xF8\x82ɂȂ\xE7\x82Ȃ\xA2\x82̂ŁAtmux \x82p\x82\xB7\x82\xE9\x8Fꍇ\x82͈ˑR\x82Ƃ\xB5\x82ĉ\xBA\x8BL\x82̐ݒ肪\x95K\x97v\x82ɂȂ\xE8\x82܂\xB7\x81B -</p --> +<p class="notice"> +NOTE: When text is pasted by using Vim 8.0.0238 or later , auto indent and completion are disabled not below configuration becasue the vim editor supports Bracketed Paste Mode. <br> +However, when tmux is used, below configuration is needed because Bracketed Paste Mode is not enabled. +</p> <p> Basically, the host application can not recognize the difference between the user input and pasting from clipboard. @@ -79,12 +79,9 @@ <pre class="macro-example"> if has("patch-8.0.0238") -<!-- - " Bracketed Paste Mode\x91Ή\x9E\x83o\x81[\x83W\x83\x87\x83\x93(8.0.0238\x88ȍ~)\x82ł́A\x93\xC1\x82ɐݒ肵\x82Ȃ\xA2 - " \x8Fꍇ\x82\xCDTERM\x82\xAAxterm\x82̎\x9E\x82̂\xDDBracketed Paste Mode\x82\xAA\x8Eg\x82\xED\x82\xEA\x82\xE9\x81B - " tmux\x97\x98\x97p\x8E\x9E\x82\xCDTERM\x82\xAAscreen\x82Ȃ̂ŁABracketed Paste Mode\x82𗘗p\x82\xB7\x82\xE9\x82ɂ\xCD - " \x88ȉ\xBA\x82̐ݒ肪\x95K\x97v\x82ƂȂ\xE9\x81B ---> + " When below configuration is not set by using Bracketed Paste Mode supporting version(8.0.0238 or later), + " the Bracketed Paste Mode is used while TERM is xterm. + " When tmux is used, below configuration is needed because TERM is screen. if &term =~ "screen" let &t_BE = "\e[?2004h" let &t_BD = "\e[?2004l" @@ -92,18 +89,14 @@ exec "set t_PE=\e[201~" endif else -<!-- - " 8.0.0210 \x81` 8.0.0237 \x82ł\xCDVim\x96{\x91̂ł\xCCBracketed Paste Mode\x91Ή\x9E\x82̋\x93\x93\xAE\x82\xAA - " \x96]\x82܂\xB5\x82\xAD\x82Ȃ\xA2(\x8E\xA9\x93\xAE\x83C\x83\x93\x83f\x83\x93\x83g\x82\xAA\x96\xB3\x8C\xF8\x82ɂȂ\xE7\x82Ȃ\xA2)\x82̂ŁAVim\x96{\x91̑\xA4\x82ł̑Ή\x9E\x82\xF0 - " \x96\xB3\x8C\xF8\x82ɂ\xB7\x82\xE9\x81B ---> + " The Bracketed Paste Mode motion of Vim core will not work well, + " auto indent does not become to disabling, with Vim from 8.0.0210 to 8.0.0237 version. + " So, Vim core function is disabled. if has("patch-8.0.0210") set t_BE= endif -<!-- - " Vim\x96{\x91̂\xAABracketed Paste Mode\x82ɑΉ\x9E\x82\xB5\x82Ă\xA2\x82Ȃ\xA2\x8E\x9E\x82ׂ̈̐ݒ\xE8\x81B ---> + " When Vim core does not support Bracketed Paste Mode, below configuration works. if &term =~ "xterm" || &term =~ "screen" let &t_ti .= "\e[?2004h" let &t_te .= "\e[?2004l"