로그인 유지
미니 배열에 관심을 기울이고 있는 중에 vi에디터의 이동키를 보고
갑자기 궁금해졌습니다.
HJKL 보다 JKL; 로 이동키를 사용하면 기본손가락 위치라서
더 편할 듯 한데 특별히 ";" 세미콜론이 vi에디터에서 사용되는
특별한 용도가 있나요? 왜 궃이 이동키를 JKL;로 할당 하지않은
이유가 있는가 해서요.
만약 ";" 키가 vi에디터 에서 특별히 용도가 있다면 무슨용도로
사용되는지도 알고 싶습니다.
:help ;
; Repeat latest f, t, F or T [count] times. See |cpo-;
라는 군요.
ㅋㅋㅋ
; When using |,| or |;| to repeat the last |t| search
and the cursor is right in front of the searched
character, the cursor won't move. When not included,
the cursor would skip over it and jump to the
following occurrence.
답변 감사합니다. ^^
기능이 할당된것이 맞네요. 아마 f기능 수행후 다시 그것을 반복하는 것을보니
f로 주어진문자 찾기후 다음 찾기할때 세미콜론을 사용하면 될 듯 합니다. 가장
최근 f나 t명령을 다시 수행하는 경우에 사용하라고 되어 있는데 사용해보지
않아서 잘 모르겠습니다. ^^
그냥 HJKL키로 사용해야 될 듯 싶습니다. 기능이 할당된 이상 괜히
건드리면 정신건강에 좋지 않을 듯 합니다. ㅎㅎ
:help ;
; Repeat latest f, t, F or T [count] times. See |cpo-;
라는 군요.
ㅋㅋㅋ
; When using |,| or |;| to repeat the last |t| search
and the cursor is right in front of the searched
character, the cursor won't move. When not included,
the cursor would skip over it and jump to the
following occurrence.