Skip to content

Instantly share code, notes, and snippets.

@samflores
Created March 21, 2013 16:36
Show Gist options
  • Select an option

  • Save samflores/5214486 to your computer and use it in GitHub Desktop.

Select an option

Save samflores/5214486 to your computer and use it in GitHub Desktop.
Esse é o meu arquivo .vimrc. Esse script ~/bin/background_color é um shell script que retorna light ou dark. Isso deveria setar o background do Vim, mas quando inicio o vim não tá fazendo efeito. O que eu acho curioso é que se, depois de aberto, eu executar source ~/.vimrc, funciona
let bg=system("~/bin/background_color")
set background="".bg
colorscheme solarized
@dmitryrck
Copy link
Copy Markdown

@samflores : fiquei curioso como é o ~/bin/background_color ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment