What is the normal mode vim command that simultaneously converts false to FALSE, and also from 12:48:03 AM to 12:48?

I accidentally executed a command in normal mode in vim, in a TSV file, where it converted all false to FALSE, all true to TRUE and all the time from 12:48:03 AM format until 12:48.

I believe that this was the only command because I could cancel and repeat it with "u" and "Ctrl-R", but I can’t understand what it was. Somebody knows?

If there is an equivalent to command mode, I will also be interested to know about it, but I'm trying to find a version of normal mode.

I have already tried q: and know that I did not accidentally hit Command Mode.

+3
source share
3 answers

"gu" "gu" . , :

guu - make whole line lowercase
gUU - make whole line UPPERCASE
guw - make word lowercase
gUw - make word UPPERCASE
guj - make this and next line lowercase
gUk - make this line and previous line UPPERCASE

".". change vim.

+1

, vim . :

:%s/\(\d\d\:\d\d\)\:\d\d\ [A-P]M\|\(true\)\|\(false\)/\1\U\2\U\3/g

, , . !!

+1

~ : . , . . . tuxfiles

: , ,

Also, how do you feel about this with help computer forensics?

0
source

All Articles