by hhhhhhhhh · 14y ago · 0 comments
this is literally the only objective reason i have ever seen for using/not using semicolons
nnoremap A :call EndOfLine()<CR>a
fu! EndOfLine()
normal $
if getline(".")[col(".")-1] == ';'
normal h
endif
endfunction