

+ex_extra -mouse_gpm -sun_workshop -xterm_save +eval +mouse_dec +statusline -xterm_clipboard
#Macvim command compile update
Later of if you want to update you can just do brew reinstall vim with the same options. If you do brew info vim you can see that it has a HEAD option which will fetch the latest source-code and compile it for you. +emacs_tags +mouseshape +startuptime -xsmp I understand that this was just a post on how you did it but a tip would be using homebrew for all the compiling. Linking: /usr/bin/clang -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o Vim -framework Cocoa -framework Carbon -lm -lncurses -liconv -lintl -framework CocoaĪnd the non-working version: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled 07:18:47) Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -I/opt/local/include -DMACOS_X_UNIX -pipe -Os -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 +emacs_tags +mouseshape +startuptime -xterm_clipboardĭefaults file: "$VIMRUNTIME/defaults.vim"įall-back for $VIM: "/opt/local/MacVim.app/Contents/Resources/vim"Ĭompilation: /usr/bin/clang -c -I. +digraphs +mksession +scrollbind -xfontset +dialog_con_gui -lua +rightleft +writebackup +cursorbind +listcmds +quickfix +wildmenu +cmdline_info +lambda +postscript +visual +cmdline_hist +keymap +persistent_undo +virtualedit +cmdline_compl +jumplist -perl +vertsplit +clipboard +job +path_extra +user_commands +clientserver +insert_expand +packages +transparency +byte_offset +gettext +netbeans_intg +timers ++builtin_terms +fullscreen -mzscheme +textobjects +browse +fork() +multi_lang +termresponse +balloon_eval -footer +multi_byte +terminfo +autocmd +folding +mouse_xterm +termguicolors +acl +find_in_path -mouse_sysmouse -tag_any_white Here's the working version: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled 19:25:50)

There are slight differences in the versions. vimrc on both computers is: set shell=/bin/bashĪutocmd ColorScheme * hi StatusLine guifg=#268bd2 In a new shell session, I first switched to the stock Ruby. I decided to compile both against my system Ruby (1.8.7) as that is the least likely to be messed around with.
#Macvim command compile install
My colon commands are being saved in my home computers but not on my work computer. This becomes problematic if you try to compile Vim against one version, and then try to install a plugin like command-t with a C-extension compiled against another version. The above doesn't work if CtrlP finds another root marker before filelist, so I have an autocommand that replaces :CtrlP with :CtrlP ~/project-root if I'm editing a project that has the filelist outside of the repo (occurs when I'm too lazy to maintain submodules).I am using MacVim on both work and home computers.

This setting makes CtrlP use my index: let g:ctrlp_user_command = The index is called filelist and it's stored at the root of the project. Since the filelist changes infrequently and takes CtrlP too long to cache, I manually index my project's files (with find). The main reason I create indexes (aside from previously using LookupFile) is my large (15k files) project that uses Perforce (so no natural root marker).

I desire something similar, so I create my own index. CtrlP does support absolute paths: :CtrlP /īut that's slow because it has to index your entire filesystem (how else would it know where the files are?)
