

The which bubu will show nothing, but if you run the bubu command you will get the date. You can test it yourself, type directly into terminal: alias bubu=/bin/date So, your alias vim="/usr/local/Cellar/macvim/8.0-119_1/MacVim.app/Contents/MacOS/Vim" Shadowing commands with aliases doesn't is the best practice. Just must ensure that the /usr/local/bin is before the /usr/bin in the your $PATH. Of course, you can also create the link to vim like sudo ln /usr/local/bin/mvim /usr/local/bin/vim Will create the tvim and the tvim command will start the console version of the MacVim. For example, if your mvim is in the /usr/local/bin/mvim then sudo ln /usr/local/bin/mvim /usr/local/bin/tvim So, it is enough to create an hard-link with the original mvim. You can see this in the mvim source: case "$name" in m*|g*|rm*|rg*) gui=true esacĪny other name will start the console version. It works based on his own name, e.g if it's name starts with m or g will start the GUI version, otherwise the console version.

If light colorschemes are more your thing, Disciple is an experimental and mostly unmaintained negative version of Apprentice.The mvim is universal starting (bash) script for the MacVim. I select things all the time just to experience it.

I particularly love Apprentice's selection blue color. Pick something that makes you feel good while using it. Gfixler again, in r/vim: “My favorite color scheme by far is Apprentice, but again, it's completely subjective.romainl is still with us in spirit! Apprentice looks nice, and it's great that seems simple to get it working in terminal (no t_co hacks).” dddbbb, in r/vim: “Haha, you've been quoted in the readme.It's the only color scheme so far that I haven't felt like modifying in any way.” Gfixler, in r/vim: “I've been enjoying Apprentice.Vimgor, in #vim: “A colorscheme as subtle, gentle and pleasant as its creator isn't.”.If you like what you see and want to make Apprentice your default colorscheme, add this line to your ~/.vimrc: colorscheme apprentice What they say about Apprentice. To test Apprentice, just type this command from normal mode and hit Enter: :colorscheme apprentice
#Vim or macvim code
Some code in the Windows console, with TERM=cygwin, using the color palette above:įor best results, it is recommended to adjust your background color to the one used in the GUI/256color version of Apprentice:

Some code in iTerm, with TERM=xterm, using the color palette above: Here is a sample ~/.Xresources for you Linux/BSD users: You can use a color picker or copy/paste these values: The table below contains a subset of Apprentice’s palette. Working with 8/16 colorsĪs an alternative to changing your default TERM to xterm-256color or similar, you can keep its default value (usually something like xterm or screen) and set your terminal emulator to use the Apprentice colorscheme instead of its default colors. The actual value is highly dependent on your terminal emulator and/or your terminal multiplexer, though, so you will have to refer to their manual. The “ideal” TERM usually includes the string 256color, like xterm-256color. Assuming your terminal emulator actually supports 256 colors, you must instruct it to brag about its terminal-hood by setting the correct TERM environment variable. Most terminal emulators in use nowadays can display 256 colors but most of them use a default TERM that tells Vim otherwise. There is nothing to do for GVim/MacVim as GUI Vim supports millions of colors by default. It supports lesser terminal emulators in the sense that it doesn’t break but it will definitely look “better” in more capable environments. Apprentice is designed first and foremost to look “good” in terminal emulators supporting 256 colors and in GUI Vim (GVim/MacVim).
