I want to use solarization for macvim, but I want it by default when I'm in vi. I suppose I put lines of text in my .vimrc ... but what did I put in there?
MacVim uses ~ / .gvimrc, so you can install it in the ~ / .gvimrc file. Or you can use has("gui_running") :
has("gui_running")
if has("gui_running") colorscheme solarized endif
Both versions should work.
You can also use
if has("gui_macvim") colorscheme solarized endif
If you want to solarize only for MacVim, but not for other vim graphical clients.
Source: https://habr.com/ru/post/905896/More articles:Excel - copying a displayed value is not an actual value - vbaHow are AVX registers handled by common calls? - linuxjQuery cross-domain issue - jqueryExit / disable edit mode after double-click event - vbaCodeIgniter + CSS - cssHow to do Reload a web page when a user turns a mobile into an album - javascriptProblem with Python FileCookieJar.save () - pythonPHP: Download script file not working on iPad - phpPriority with activemq - javaIs it possible to autosave temporary buffers that do not visit the file? - emacsAll Articles