added whitespace trim and cursor to last location autocmds