annotate runtime/doc/vimdiff-ru.1 @ 33299:4c975fa0a442 v9.0.1915

patch 9.0.1915: r_CTRL-C works differently in visual mode Commit: https://github.com/vim/vim/commit/476733f3d06876c7ac105e064108c973a57984d3 Author: Christian Brabandt <cb@256bit.org> Date: Tue Sep 19 20:41:51 2023 +0200 patch 9.0.1915: r_CTRL-C works differently in visual mode Problem: r_CTRL-C works differently in visual mode Solution: Make r_CTRL-C behave consistent in visual mode in terminal and Windows GUI in visual mode, r CTRL-C behaves strange in Unix like environments. It seems to end visual mode, but still is waiting for few more chars, however it never seems to replace it by any characters and eventually just returns back into normal mode. In contrast in Windows GUI mode, r_CTRL-C replaces in the selected area all characters by a literal CTRL-C. Not sure why it behaves like this. It seems in the Windows GUI, got_int is not set and therefore behaves as if any other normal character has been pressed. So remove the special casing of what happens when got_int is set and make it always behave like in Windows GUI mode. Add a test to verify it always behaves like replacing in the selected area each selected character by a literal CTRL-C. closes: #13091 closes: #13112 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Sep 2023 21:00:03 +0200
parents de5a43c5eedc
children ecb5d46edd81
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
221
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
1 .TH VIMDIFF 1 "2001 March 30"
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
2 .SH ИМЯ
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
3 vimdiff \- позволяет редактировать две или три версии файла с помощью Vim
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
4 с отображением различий.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
5 .SH КОМАНДНАЯ СТРОКА
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
6 .br
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
7 .B vimdiff
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
8 [ключи] файл1 файл2 [файл3]
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
9 .PP
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
10 .B gvimdiff
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
11 .SH ОПИСАНИЕ
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
12 Команда
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
13 .B vimdiff
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
14 загружает в
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
15 .B Vim
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
16 два (или три) файла. Каждый файл открывается в собственном окне.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
17 Различия между файлами отображаются с помощью подсветки синтаксиса.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
18 Эта команда позволяет наглядно отображать внесённые изменения и переносить
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
19 различающиеся фрагменты из одной версии файла в другую.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
20 .PP
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
21 Подробнее о Vim см. на странице справочника vim(1).
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
22 .PP
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
23 При запуске с помощью команды
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
24 .B gvimdiff
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
25 редактор запускается в режиме графического интерфейса, если это возможно.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
26 .PP
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
27 В каждом окне включается опция 'diff', что позволяет использовать подсветку
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
28 синтаксиса для отображения различий между файлами.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
29 .br
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
30 Для улучшения работы с файлами в режиме отображения отличий также включаются
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
31 опции 'wrap' и 'scrollbind'.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
32 .br
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
33 Значение опции 'foldmethod' устанавливается равным "diff", что позволяет
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
34 прятать в складку области текста, которые не отличаются в различных версиях файла.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
35 Значение опции 'foldcolumn' устанавливается равным 2, чтобы было проще
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
36 находить, открывать и закрывать такие складки.
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
37 .SH КЛЮЧИ ЗАПУСКА
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
38 Для выравнивания строк между окнами используется вертикальное разделение окон,
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 221
diff changeset
39 как если бы использовался ключ "\-O". Для того, чтобы использовать разделение
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 221
diff changeset
40 окон по горизонтали, следует указать в командной строке ключ "\-o".
221
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
41 .PP
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
42 Остальные ключи командной строки рассматриваются на странице справочника vim(1).
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
43 .SH СМОТРИ ТАКЖЕ
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
44 vim(1)
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
45 .SH АВТОРЫ
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
46 Большая часть
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
47 .B Vim
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
48 создана Брамом Мооленааром (Bram Moolenaar), которому помогает огромное
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
49 количество людей. См. ":help credits" в
7fd4b5df33be updated for version 7.0062
vimboss
parents:
diff changeset
50 .B Vim.