This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / a question about viif I'd like to find the first 'a' in a line, I can use 'f a', which command can let me repeat the previous command to find the second 'a' in the same line?
what does the dot(.) do in vi command status?
-xiagangle(xiagangle);
2002-11-8
{211}
(#844252@0)
-
If you want to repear last search, I think you'll have to use "/patern" and then "n" to search for the next match. Dot (.) is for repeating last _edit_ command (eg., i, a, r, dd, etc.).
-dennis2(Dennis);
2002-11-8
(#844453@0)
-
didn't work for 'f' to serch a character in a line in command mode.
-xiagangle(xiagangle);
2002-11-14
(#854755@0)
-
use "/" under command mode, for instance, /findtext is trying to find findtext.
-oceandeep(北极熊® Zzz Zzz);
2002-11-14
(#854820@0)
-
use 'n' (forward), 'N' (backward) in command mode, dot (.) command also can repeat your last update or insert command.
-zero(zero);
2002-11-13
(#853300@0)