Mercurial > vim
annotate runtime/doc/vimdiff-it.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 | 65b122a95cba |
children |
rev | line source |
---|---|
40 | 1 .TH VIMDIFF 1 "30 marzo 2001" |
2 .SH NOME | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
3 vimdiff \- modifica da due, fino a otto versioni di un file con Vim, visualizzando le differenze |
40 | 4 .SH SINTASSI |
5 .br | |
6 .B vimdiff | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
7 [opzioni] file1 file2 [file3 [file4 [file5 [file6 [file7 [file8]]]]]] |
40 | 8 .PP |
9 .B gvimdiff | |
10 .SH DESCRIZIONE | |
11 .B Vimdiff | |
12 inizia | |
13 .B Vim | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
14 per due e fino a otto file. |
40 | 15 Ogni file ha una sua finestra. |
16 Le differenze fra file sono evidenziate. | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
17 È una maniera elegante per controllare modifiche e applicare modifiche |
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
18 a qualche altra versione dello stesso file. |
40 | 19 .PP |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
20 Vedere vim(1) per dettagli su Vim in sé. |
40 | 21 .PP |
22 Se iniziato con | |
23 .B gvimdiff | |
24 la GUI sarà utilizzata, se disponibile. | |
25 .PP | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
26 In ogni finestra l'opzione 'diff' è impostata, in modo da evidenziare le |
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
27 differenze fra le versioni |
40 | 28 .br |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
29 Le opzioni 'wrap' e 'scrollbind' sono impostate per favorire la visibilità del testo. |
40 | 30 .br |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
31 L'opzione 'foldmethod' è impostata al valore "diff", che mette i gruppi di |
40 | 32 linee uguali fra i diversi file in una piegatura. 'foldcolumn' è impostato |
33 a due per poter facilmente visualizzare le piegature, aprirle e chiuderle. | |
34 .SH OPZIONI | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
35 Lo schermo è diviso verticalmente, come quando si usa l'opzione "\-O". |
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
36 Per dividerlo orizzontalmente, usare invece l'opzione "\-o". |
40 | 37 .PP |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
38 Per tutti gli altri argomenti, vedere vim(1). |
40 | 39 .SH VEDERE ANCHE |
40 vim(1) | |
41 .SH AUTORE | |
42 Buona parte di | |
43 .B Vim | |
33085
65b122a95cba
translation(it): updated Italian manpages
Christian Brabandt <cb@256bit.org>
parents:
2423
diff
changeset
|
44 è stato scritto da Bram Moolenaar, con molto aiuto da parte di altri. |
40 | 45 Vedere ":help credits" in |
46 .B Vim. |