프로그램 사용/vi
vi에서 마우스 사용하도록 설정하기
구차니
2014. 9. 4. 15:02
putty + vi 에서도 마우스가 사용이 가능하다!
마우스를 쓸수 있으면 좋은점은...
창 관리가 쉽다는거?
단, putty에서 마우스를 활성화 하면
putty 자체의 기능인 드래그 복사가 안되니 주의!
마우스를 쓸수 있으면 좋은점은...
창 관리가 쉽다는거?
단, putty에서 마우스를 활성화 하면
putty 자체의 기능인 드래그 복사가 안되니 주의!
VIM - main help file
k
Move around: Use the cursor keys, or "h" to go left, h l
"j" to go down, "k" to go up, "l" to go right. j
Close this window: Use ":q<Enter>".
Get out of Vim: Use ":qa!<Enter>" (careful, all changes are lost!).
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
Double-click the left mouse button on a tag, e.g. |bars|.
Jump back: Type CTRL-T or CTRL-O (repeat to go further back).
Get specific help: It is possible to go directly to whatever you want help
on, by giving an argument to the |:help| command.
It is possible to further specify the context:
*help-context*
WHAT PREPEND EXAMPLE ~
Normal mode command (nothing) :help x
Visual mode command v_ :help v_u
Insert mode command i_ :help i_<Esc>
Command-line command : :help :quit
Command-line editing c_ :help c_<Del>
Vim command argument - :help -r
Option ' :help 'textwidth'
Search for help: Type ":help word", then hit CTRL-D to see matching
help entries for "word". |
Enable vim automatic visual mode using mouse
:set mouse=a
Disable vim automatic visual mode using mouse
:set mouse-=a
[링크 : http://yard.tistory.com/entry/vi에서-Mouse마우스-컨트롤-설정해제] |