nnoremap A :call EndOfLine()<CR>a fu! EndOfLine() normal $ if getline(".")[col(".")-1] == ';' normal h endif endfunction