2012-01-20 1 views
9

Vim으로 GNU 화면에서 작업 할 때 마우스로 분할 창 크기를 조정할 수 없습니다. 모든 나머지 마우스 동작은 Vim (마우스로 스크롤, 텍스트 선택 등)에서 잘 작동합니다. 일반적으로 에 se mouse=n이 있습니다. GNU 화면 외부에서 윈도우 버퍼 크기를 조정하면 완벽하게 작동합니다. 여기 GNU Screen and Vim : 마우스로 분할 창 버퍼 크기 조정

은 정력 정보입니다 :

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan 19 2012 18:05:29) 
Included patches: 1-401 
Compiled by [email protected] 
Normal version without GUI. Features included (+) or not (-): 
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments -conceal +cryptv +cscope +cursorbind 
+cursorshape +dialog_con +diff +digraphs -dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input -iconv 
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape -mouse_dec -mouse_gpm -mouse_jsbterm 
-mouse_netterm -mouse_sysmouse +mouse_xterm -mouse_urxvt -multi_byte +multi_lang -mzscheme +netbeans_intg +path_extra -perl +persistent_undo +postscript +printer -profile -python -python3 
+quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse 
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset -xim +xsmp_interact 
+xterm_clipboard -xterm_save 
    system vimrc file: "$VIM/vimrc" 
    user vimrc file: "$HOME/.vimrc" 
     user exrc file: "$HOME/.exrc" 
    fall-back for $VIM: "/usr/local/share/vim" 
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lnsl 

GNU 화면 정보 :

4.00.03 (FAU) 23-Oct-06 

답변

15

나를 위해 속인다. 마우스는 GNU 화면의 vim에서 완전히 활성화되어 있습니다.

:set ttymouse=xterm2 
4

내가 정력 7.3을 사용, GNU 화면 (우분투/데비안 현재 패키지 버전)와 그놈 터미널, 그리고 실행시 마우스를 드래그 할 때 마우스를 사용할 수 있습니다.

:se mouse=a