프로그램 사용/vi
vi 사각형 선택하기
구차니
2014. 9. 11. 14:02
ctrl-v를 누르면 사각형
v는 시작부터 끝을 선택하는 타입
set mouse=a를 설정해서 사용할 경우에는
키보드를 통한 박스 선택을 하듯 할 수 없다
[링크 : http://mwultong.blogspot.com/2006/11/vim-vi-select-copy-paste.html]
v는 시작부터 끝을 선택하는 타입
set mouse=a를 설정해서 사용할 경우에는
키보드를 통한 박스 선택을 하듯 할 수 없다
2. Starting and stopping Visual mode *visual-start* *v* *characterwise-visual*
v start Visual mode per character.
*V* *linewise-visual*
V start Visual mode linewise.
*CTRL-V* *blockwise-visual*
CTRL-V start Visual mode blockwise. Note: Under Windows
CTRL-V could be mapped to paste text, it doesn't work
to start Visual mode then, see |CTRL-V-alternative|.
If you use <Esc>, click the left mouse button or use any command that
does a jump to another buffer while in Visual mode, the highlighting stops
and no text is affected. Also when you hit "v" in characterwise Visual mode,
"CTRL-V" in blockwise Visual mode or "V" in linewise Visual mode. If you hit
CTRL-Z the highlighting stops and the editor is suspended or a new shell is
started |CTRL-Z|.
new mode after typing: *v_v* *v_CTRL-V* *v_V*
old mode "v" "CTRL-V" "V" ~
Normal Visual blockwise Visual linewise Visual
Visual Normal blockwise Visual linewise Visual
blockwise Visual Visual Normal linewise Visual
linewise Visual Visual blockwise Visual Normal
|
[링크 : http://mwultong.blogspot.com/2006/11/vim-vi-select-copy-paste.html]