2010-11-29 2 views
0

vim-surround에 대해 cs 명령을 실행하려고했습니다. 그러나 불행하게도 E319가 있습니다. 죄송합니다.이 버전의 메시지에서는 명령을 사용할 수 없습니다.vim-surround, cs 명령 E319 :이 버전에서는 사용할 수 없습니다.

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov 27 2010 19:38:25) 
MacOS X (unix) version 
Included patches: 1-47 
Compiled by [email protected] 
Normal version with MacVim 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_gui +diff +digraphs 
+dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path +float +folding -footer 
+fork() +fullscreen -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 +multi_byte +multi_lang -mzscheme +netbeans_intg +odbeditor 
-osfiletype +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 +transparency +user_commands 
+vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup -X11 
-xfontset +xim -xsmp -xterm_clipboard -xterm_save 
    system vimrc file: "$VIM/vimrc" 
    user vimrc file: "$HOME/.vimrc" 

감사

+0

@NedBatchelder, 물음표가 없어도 문제는 분명히 나에게 분명합니다. 나는 그것이 당신에게도 맞는 것 같아요. 아마도 사람들을 좀 더 여유있게 자르는 것을 고려해보십시오. –

답변

0

당신이 surround.vim를 설치 한 : 나는이 내 빔 버전입니다 http://amix.dk/vim/vimrc.html

에서의 vimrc를 사용할 수 있습니까?

서라운드 기능은 Vim에는 내장되어 있지 않지만 앞서 언급 한 플러그인이 필요합니다.

다른 사람의 .vimrc를 사용한 경우에도 플러그인을 설치해야합니다. 설치 지침은 링크를 참조하십시오. (최신 버전은 github에서 찾을 수 있습니다).

수동으로 플러그인을 설치해야합니다 (예 : ~/.vim/디렉토리에 파일을 수동으로 다운로드하고 복사) .vimrc 파일의 시작 부분에서 언급 한대로 svn을 사용하십시오. 그런 식으로 최신 플러그인 버전을 얻을 수 있습니다.

편집 : 서라운드 올바르게, 당신은 같은 것을 볼 수 명령의 긴 목록에
:verbose map

을 입력하여 설치되어있는 경우 :

x s <Plug>Vsurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim
n ySS <Plug>YSsurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim n ySs <Plug>YSsurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim
n yss <Plug>Yssurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim
n yS <Plug>YSurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim
n ys <Plug>Ysurround
Last set from ~\vimfiles\bundle\surround\plugin\surround.vim

surround.vim의 경로를 파일은 설치시 다를 수 있지만 정의 된 명령이 표시되어야합니다.

+0

감사합니다. 내 잘못이야 :-( – diorahman

관련 문제