“(2013-02-26) “a shortcut/quick way to do a complicated map but bypassing function calls

map ,ct :
    \if g:colors_name == 'default' <Bar>
        \:colorscheme koehler <Bar>
    \elseif g:colors_name == 'koehler' <Bar>
        \:colorscheme molokai <Bar>
    \else <Bar>
        \:colorscheme default <Bar>
    \endif <Bar>
    \<CR>


blog comments powered by Disqus

Published

26 February 2013

Tags