2 ms·
Hacked this together in a couple seconds, there is probably a better way: nnoremap A :call EndOfLine()<CR>a fu! EndOfLine() normal $ i
by OriginalSyn 14y ago
Hacked this together in a couple seconds, there is probably a better way:
nnoremap A :call EndOfLine()<CR>a
fu! EndOfLine()
normal $
if getline(".")[col(".")-1] == ';'
normal h
endif
endfunction