fix common cmake compiler conditionals
add some vim commands