vi 편집기에서 한 단어를 왼쪽으로 이동하는 방법
단축키 w를 사용 하여 커서를 한 단어 오른쪽으로 이동합니다. 단어를 왼쪽으로 이동하는 단축키가 있습니까?
b한 단어 뒤로 이동 하는 데 사용
w한 단어 앞으로 이동 하는 데 사용
여기 당신에게 유용한 치트 시트가 있습니다
출처 : http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
그것은이다 b.
여기에서 다른 동작을 볼 수 있습니다.
http://vimdoc.sourceforge.net/htmldoc/motion.html#word-motions
일반적으로 Vim 명령은
카운트 동작 동작
어디:
count 는 실행하려는 횟수이며 기본값은 1입니다.
action 은 분명히 action입니다 : ddelete, cchange, default는 비어 있으며 단순히 이동을 의미합니다
motion is the direction, you got that already
In addition to the b
movement mentionned in the other answers, another movement which may be interesting is ge
.
It brings you to the last letter of the word on the left. When b
is considered as the opposite of w
, ge
can be considered as the opposite of e
which brings you to the end of the current word.
Also note that all of those word-wise movement have a WORD-wise equivalent: W
, B
, E
and gE
which are "faster". For the difference between words and WORDS see: :h word
.
yes, you can use "b" to backforward a word, and in advance, "2b" to move back 2 words
제목에 따라 왼쪽 (뒤로)으로 이동하려고합니다. b
그렇습니다.
참고 URL : https://stackoverflow.com/questions/4488979/how-to-move-one-word-left-in-vi-editor
'Programing' 카테고리의 다른 글
datagridview에서 행 색상을 변경하는 방법은 무엇입니까? (0) | 2020.06.26 |
---|---|
csv.Error : 반복자는 바이트가 아닌 문자열을 반환해야합니다 (0) | 2020.06.26 |
Eclipse는 "Java가 시작되었지만 종료 코드 = 1을 리턴했습니다"오류 메시지를 리턴합니다. (0) | 2020.06.26 |
Array.map과 함께 async await 사용 (0) | 2020.06.26 |
.pfx를 .cer로 변환 (0) | 2020.06.26 |