[rvsjoen@rainbow] ~/.vim $ vim test Error detected while processing /home/rvsjoen/.vim/plugin/a.vim: line 625: E121: Undefined variable: tabNr E15: Invalid expression: (tabNr != -1) line 630: E121: Undefined variable: bufNr E116: Invalid arguments for function bufwinnr(bufNr) E15: Invalid expression: bufwinnr(bufNr) line 631: E121: Undefined variable: bufWindow E15: Invalid expression: (bufWindow == -1) line 666: E580: :endif without :if: endif line 667: E193: :endfunction not inside a function Hit ENTER or type command to continue