Macos 使用OSX上的远程选项卡构建vim
我使用以下方法构建了vim:Macos 使用OSX上的远程选项卡构建vim,macos,vim,Macos,Vim,我使用以下方法构建了vim: /configure--with-x--enable pythoninterp--with features=ground 但是没有访问vim--remote选项卡的权限。我使用的是OSX版本10.11.2。我希望使用Vim,而不是MacVim,因为我也在使用tmux 下面是vim--version的输出,如果有用的话: vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 5 2016 09
/configure--with-x--enable pythoninterp--with features=ground
但是没有访问vim--remote选项卡的权限。我使用的是OSX版本10.11.2。我希望使用Vim,而不是MacVim,因为我也在使用tmux
下面是vim--version
的输出,如果有用的话:
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 5 2016 09:24:37)
MacOS X (unix) version
Included patches: 1-658
Compiled by *******
Huge version without 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 -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
+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"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lm -lncurses -liconv -framework Cocoa -framework Python
为什么不直接安装MacVim?@romainl我的工作流程是基于tmux的,通常涉及到远程主机的ssh。MacVim是GUI,对吗?我已经用这个信息更新了这个问题。MacVim同时带有CLI和GUI可执行文件。无论如何,
--remote tab
在Mac OS X上的CLI Vim中不起作用,只能在GUI Vim中起作用。@Romaill啊,每天学点新东西!;)谢谢,这就是我想要的答案。虽然太糟糕了,但很高兴知道。