1.remove ^M (Ctrl-V Ctrl-M, dos newline symbol) when vimrc file is created in Windows:
search and replace in vim commandline by typing:
:%s/\r//g
to replace the ^M space
or using tr command to delete ^M char in file:
cat .vimrc | tr -d '\r' > .new_vimrc
2.open macvim from terminal:
add application path to .bash_profile
ex:
export PATH="$PATH:/Applications"
call mvim script from terminal to open macvim
3.remove toolbar and toolmenu:
set guioptions-=T
set guioptions-=m
No comments:
Post a Comment