2016-08-04 15 views
1

vimプラグインにはチャンネルとジョブの機能が必要ですが、私はオンラインで多くの方法を試しましたが、vimが最新のバージョンにアップグレードしても、+ channelと+ jobsの機能をvimに追加する方法

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 4 2016 10:41:12) 
Included patches: 1-764 
Compiled by ABC 
Huge version with GTK2 GUI. Features included (+) or not (-): 
+acl    +farsi   +mouse_netterm +syntax 
+arabic   +file_in_path +mouse_sgr  +tag_binary 
+autocmd   +find_in_path -mouse_sysmouse +tag_old_static 
+balloon_eval +float   +mouse_urxvt  -tag_any_white 
+browse   +folding   +mouse_xterm  -tcl 
++builtin_terms -footer   +multi_byte  +terminfo 
+byte_offset  +fork()   +multi_lang  +termresponse 
+cindent   +gettext   -mzscheme  +textobjects 
+clientserver -hangul_input +netbeans_intg +title 
+clipboard  +iconv   +path_extra  +toolbar 
+cmdline_compl +insert_expand -perl   +user_commands 
+cmdline_hist +jumplist  +persistent_undo +vertsplit 
+cmdline_info +keymap   +postscript  +virtualedit 
+comments  +langmap   +printer   +visual 
+conceal   +libcall   +profile   +visualextra 
+cryptv   +linebreak  -python   +viminfo 
+cscope   +lispindent  -python3   +vreplace 
+cursorbind  +listcmds  +quickfix  +wildignore 
+cursorshape  +localmap  +reltime   +wildmenu 
+dialog_con_gui -lua    +rightleft  +windows 
+diff   +menu   -ruby   +writebackup 
+digraphs  +mksession  +scrollbind  +X11 
+dnd    +modify_fname +signs   -xfontset 
-ebcdic   +mouse   +smartindent  +xim 
+emacs_tags  +mouseshape  -sniff   +xsmp_interact 
+eval   +mouse_dec  +startuptime  +xterm_clipboard 
+ex_extra  -mouse_gpm  +statusline  -xterm_save 
+extra_search -mouse_jsbterm -sun_workshop -xpm 
    system vimrc file: "$VIM/vimrc" 
    user vimrc file: "$HOME/.vimrc" 
2nd user vimrc file: "~/.vim/vimrc" 
     user exrc file: "$HOME/.exrc" 
    system gvimrc file: "$VIM/gvimrc" 
    user gvimrc file: "$HOME/.gvimrc" 
2nd user gvimrc file: "~/.vim/gvimrc" 
    system menu file: "$VIMRUNTIME/menu.vim" 
    fall-back for $VIM: "/usr/local/share/vim" 
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1  
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -ldl 

誰かがこれらの機能をコンパイルする方法を知っていますか?

+2

これは最新バージョンではありません。現在、githubは7.4.2150程度です。そこからソースを入手し、features = hugeでチャンネルコンパイルする必要があります。 –

+0

しかし、私のvimのバージョンはすでに7.4.764です。 –

+1

しかし、チャンネル機能のために新しいバージョンが必要です。 2013年からの日付ヘッダーを見てください。公式リポジトリから最近のものを取得する必要があります。 –

答えて

2

はこの作品ガット:

git clone https://github.com/vim/vim.git 

cd vim/src 

sudo make distclean # if you build Vim before 

./configure   --with-features=huge \ 
      --enable-multibyte \ 
      --enable-rubyinterp \ 
      --enable-pythoninterp \ 
      --with-python-config-dir=/usr/lib/python2.7/config \ 
      --enable-python3interp \ 
      --with-python3-config-dir=/usr/lib/python3.5/config \ 
      --enable-perlinterp \ 
      --enable-luainterp \ 
      --enable-gui=gtk2 --enable-cscope 

make 

sudo make install 

は、そのコマンドでPythonのための2つの経路に細心の注意を払ってください。 Pythonのconfigディレクトリがあなたのマシンのどこかにある場合は、それらを変更する必要があります。

関連する問題